You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Guys ,
We facing an interesting issue with pg_search while searching by 2 characters or special characters, sometimes we getting results and sometimes don't
pg_search_scope :search_by_name,
against: [:name],
using: {
tsearch: { prefix: true, any_word: true, dictionary: "english", negation: true }
},
ignoring: :accents
Example :
Search by "HR" returns correct results
Search by "IT" return no results
Search by "john@" return no results
These just examples , any clues would be appreciated.
Thank you
The text was updated successfully, but these errors were encountered:
Hi Guys ,
We facing an interesting issue with pg_search while searching by 2 characters or special characters, sometimes we getting results and sometimes don't
pg_search_scope :search_by_name,
against: [:name],
using: {
tsearch: { prefix: true, any_word: true, dictionary: "english", negation: true }
},
ignoring: :accents
Example :
Search by "HR" returns correct results
Search by "IT" return no results
Search by "john@" return no results
These just examples , any clues would be appreciated.
Thank you
The text was updated successfully, but these errors were encountered: