Sphinx PHP API order differs from Search Daemon

南楼画角 提交于 2019-12-02 10:12:09

seems like search tool defaults to bm25 ranking . Try adding $cl->SetMatchMode(SPH_MATCH_EXTENDED2); $cl->SetRankingMode(SPH_RANK_BM25); You should get same result. Btw, don't trust search tool too much , it's more for testing and kinda a 'second class citizen' in the Sphinx project. Use API or sql interface.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!