如果排名影响“权重”
它会影响排序。
那么为什么在我的排名中,我的结果比另一个要少?
手动说
SPH_MATCH_ANY uses SPH_RANK_MATCHANY ranker;
后来在手册中
SPH_RANK_MATCHANY = sum((word_count+(lcs-1)*max_lcs)*user_weight)
参考:http ://sphinxsearch.com/docs/current.html#weighting
所以
mode=any
和
mode=extended2;ranker=expr:sum((word_count+(lcs-1)*max_lcs)*user_weight)'
会返回相同的结果,但事实并非如此。为什么 ?
“排名”对匹配有影响吗?