2
命令我使用下面的查詢如何重量使用sphinxQL foolcode
$results = SphinxQL::create($conn)->select()
->from('rt')
->match('',$searchText,true)
->where('CategoryID',$CatFilter,(int)$CategoryID)
->orderBy('Level','DESC')
->limit($start, $number)
->enqueue(SphinxQL::create($conn)->query('SHOW META'))
->executeBatch();
它按級別的結果,不考慮其他領域,如果級別相同。我想排序相同的水平WEIGHT()
我怎樣才能得到weight()
功能在foolcode。
請給我建議。