Search code examples
djangopostgresqlfull-text-searchdjango-haystack

Django: text search: Haystack vs postgres full text search


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.


Solution

  • 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