websearch
websearch_to_tsquery accepts what people type in a search box: plain words are ANDed, a minus excludes a word, quotes mean a phrase. It never raises a syntax error.
task
The same with web syntax: "river bridge" without harbour.
Run a query to see rows here.
Run EXPLAIN on the statement under the cursor: Plan tab, button Explain.
No tables yet.
websearch_to_tsquery accepts what people type in a search box: plain words are ANDed, a minus excludes a word, quotes mean a phrase. It never raises a syntax error.
The same with web syntax: "river bridge" without harbour.