Thinking Sphinx - 即使使用增量索引也会显示误报
这可能与狮身人面像有关,而不是与思考狮身人面像有关。
我正在使用增量索引。
- 假设一条记录的文本字段包含单词“foo”
- 完整索引已完成
- 单词“foo”已从记录中删除
- 增量索引已完成
- 搜索“foo”
- 即使不包含单词“foo”,也会返回上述记录
- 预期结果:不应返回上述记录。
我不确定这是否是配置问题,如果增量索引中存在相同的记录,则告诉 sphinx 忽略主索引中的记录。
更新:有人可以回应一下吗?
This may have to do with Sphinx rather than Thinking Sphinx.
I am using delta indexes.
- Lets say a record has text field contains word 'foo'
- Full indexing is done
- word 'foo' is removed from the record
- delta indexing is done
- Search for 'foo'
- The above record is returned even though it doesn't contain word 'foo'
- Expected Result: Above record shouldn't be returned.
I am not sure if this is configuration issue to tell sphinx to ignore records from main index if the same record is present in delta index.
UPDATE: Can some one please respond to this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您很可能希望将
sql_query_killlist
选项添加到您的增量源:http://sphinxsearch.com/docs/current.html#conf-sql-query-killlistYou most likely want to add the
sql_query_killlist
option to your delta sources: http://sphinxsearch.com/docs/current.html#conf-sql-query-killlist