0
私はいくつかの奇妙な結果を返して、次のSphinxSEのクエリを持っている:SphinxSE戻る奇妙な結果の
select distinct
model,
keywords,
`name`,
image,
products_parent_status,
`status`,
final_price,
source,
source_id,
description,
subdescription,
language_id,
feature,
var_val,
weight
from __search
where query='@(keywords,name,model,image,description,subdescription,feature,var_val) about;
fieldweights=keywords,11,model,10,name,9,feature,8,var_val,7,description,6,subdescription,5,image,4;
mode=extended;
maxmatches=500000;
ranker=proximity_bm25;
limit=20'
order by weight desc, `name`;
私が検索した場合、私はのために検索する場合、「約」、私は私が予想した結果の正確な数を取得しますが、 "abo"私は結果が得られません。私は使用しているランカーと関係がありますか?私は他のものを試しましたが、私はまだ変わった振る舞いをしています。これに関するいかなる助力も非常に高く評価されます。
私はそれを理解しました。インデックスにmin_prefix_lenの設定を追加する必要がありました。それを追加し、私が期待していた正確なマッチを得ることを始めました。 –