pg_search
pg_search copied to clipboard
Phrase Search
Apologies if I missed something, but is there support for phrase searches like "business analyst" in the middle of a search string, like the following:
word1 "word2 word3" word4
Where the results include word1 or word2 anywhere, but only word2 and word3 in proximity? It looks like this is supported with Postgres' term & term
or term <-> term
search, but it looks like the pg_search query parser splits the queries in a more basic way.
@nertzy Any possibility the parser could recognize quoted phrases when separating search terms? I don't think we need full lucene or anything, but some of the native functions of PG might be nice. Quite a few people at my company are angry at me at the moment since our search functionality is lacking!