Hi Magnus , Example- Search keyword is ("Marketing Coordinator" OR "Marketing Specialist" OR "Marketing Associate" ) AND "Creative Suite". Thank you for your information , phraseto_tsquery() is supporting two word search or phase search where as it is not supporting logical operator search and to_tsquery() is supporting logical operator search but not supporting two word search or phase search. If we need both functionally in full text search is there any other way we can proceed . Can you please help us solve this issue. Thanks, Ritanjali From: magnus@xxxxxxxxxxxx [mailto:magnus@xxxxxxxxxxxx] (please don't top-post on the postgresql mailinglists) On Fri, Jan 18, 2019 at 3:57 PM Ritanjali Majihee <rmajhee@xxxxxxxxxxxxxxxxxx> wrote:
You should look into phraseto_tsquery() for searching for phrases, and websearchto_tsquery() for the kind of complete search with or and and in it that you are looking for. to_tsquery doesn't do any parsing like that. //Magnus |