Skip to content
Advertisement

Postgres Like to Full Text Search

I attempting to create a query to find the name other in my sql database. I have a basic like search as follow and would like to use a full text search instead.

Like Query

Full Text Query

It appears that my full text returns 0 unlike my like search does. Why is this so when it appears that both queries appear to be doing similar searches

Advertisement

Answer

It looks like ‘other’ is in the default stop word list in english. I have tested with PostgreSQL 12 at Linux level:

In the database:

Try ‘another’.

User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement