Random Search results
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 it is excluded from results because your dictionary is set to english. Documentation can be found here at stop words
@fatboypunk Thank you reply, how about "john@th" does not return result
how about "john@th" does not return result
https://github.com/Casecommons/pg_search/issues/224 i think this issue is related to that.