【发布时间】:2018-04-05 20:23:14
【问题描述】:
我在 Sphinx 索引上设置了 index_exact_words = 1。当我查询“黑暗”时,它返回顶部带有“黑暗”一词的结果,但“黑暗”不是第一个结果。这可能是因为它忽略了 stopwords.txt 中的“The”这个词。如何告诉 Sphinx 不要将 'The' 视为停用词,因为我想要完全匹配?
我正在使用这个词进行查询:'=The =Darkness'
(Sphinx 版本:Sphinx 2.0.9-id64-release)
谢谢。
【问题讨论】: