Django:文本搜索:Haystack vs postgres全文搜索 [英] Django: text search: Haystack vs postgres full text search
问题描述
我正在使用Django 2.0
我有标题和说明的帖子。我第一次尝试实现搜索功能。
我在搜索以下选项后发现:
Haystack和Postgres全文搜索( https://docs.djangoproject。 com / en / 2.0 / ref / contrib / postgres / search / )
建议使用哪一个。
我可以建议在Django中使用PostgreSQL全文搜索功能。 官方文档
如果您需要更多关于我的建议的信息和动机,您可以阅读我在此主题上撰写的文章: p>
I am using Django 2.0
I have posts with title and description. For the first time i am trying to implement search functionality.
I found after searching the following options:
Haystack and postgres full text search (https://docs.djangoproject.com/en/2.0/ref/contrib/postgres/search/)
Which is the suggested one to work with.
I can suggest to use the PostgreSQL Full-Text Search with Django.
The official documentations is quite good.
If you want more information and motivation about my suggestion you can read an article I wrote on this subject: Full-Text Search in Django with PostgreSQL
这篇关于Django:文本搜索:Haystack vs postgres全文搜索的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!