pg_search icon indicating copy to clipboard operation
pg_search copied to clipboard

multiple search-keys

Open chmich opened this issue 4 years ago • 2 comments

Hi,

is a OR-search possible?

Member.pg_search_scope(['word-1', 'word-2', 'word-3'])

did not work for me, an i can not find a description

chmich avatar Mar 29 '20 14:03 chmich

It's not currently possible in pg_search, although it is possible to combine tsquery objects in PostgreSQL with the || operator, so if someone wanted to implement this, it should be possible.

nertzy avatar Apr 10 '20 01:04 nertzy

For more information, see: https://www.postgresql.org/docs/current/functions-textsearch.html

nertzy avatar Apr 10 '20 01:04 nertzy