Closed harti2006 closed 8 years ago
Just replace with pipes so that it at least doesn't break? (It still won't do what intended.)
We should just use plainto_tsquery
instead of to_tsquery
as it handles all those "user input errors" (not really errors but you know what I mean) for us.
http://www.postgresql.org/docs/9.4/static/functions-textsearch.html
It seems that colons inside search queries produce the following postgresql exception:
org.postgresql.util.PSQLException: ERROR: syntax error in tsquery: "team:octopus"