2

我使用带有 whoosh 的 django-haystack 作为后端。我以预定的时间间隔调用update_index命令,我注意到每次更新后我的搜索结果都包含很多重复的条目(例如,在 3 次 update_index 调用后,我有 3 个相同模型实例的重复项)。

你有没有遇到过这个问题?任何想法如何解决它?

4

1 回答 1

0

这与 whoosh 中的一些错误有关。根据 Whoosh 作者的说法,它现在已修复:https ://bitbucket.org/mchaput/whoosh/issue/97/search-index-contains-a-lot-of-duplicates

于 2011-01-21T16:25:12.550 回答