开发者

Django-Haystack + Whoosh - Are misspelling suggestions possible?

开发者 https://www.devze.com 2023-01-07 02:29 出处:网络
I\'m using Whoosh and Django-Haystack. I would like to make use of query suggestions for when users mistype words.

I'm using Whoosh and Django-Haystack. I would like to make use of query suggestions for when users mistype words.

e.g. Maybe you meant "unicorn"


Is it necessary to use another search engine? Or can I successfully achieve this with Whoo开发者_如何学编程sh?


Haystack lets you enable spelling suggestions, and that does work with Whoosh.


I have no experience with Whoosh, but comparing edit distance and rolling your own wouldn't be too complex, if necessary.

0

精彩评论

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