开发者

Search results are duplicated after update_index (django haystack+whoosh)

I use django-haystack with whoosh as a backend. I call update_index command in a scheduled intervals and I've noticed that after each update my search results contains a lot o开发者_开发百科f duplicated entries (eg. after 3 update_index calls I have 3 duplicates of the same model instance).

HAve you faced this problem? Any ideas how to solve it?


This was related to some bugs in whoosh. According to Whoosh author it is fixed now: https://bitbucket.org/mchaput/whoosh/issue/97/search-index-contains-a-lot-of-duplicates

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜