Certain discarded tokens, like underscore, caused the output of
these functions to produce incorrect tsquery output, e.g., both
- websearch_to_tsquery('"pg_class pg"') and to_tsquery('pg_class
- <-> pg') used to output '( pg & class ) <-> pg',
- but now both output 'pg <-> class <-> pg'.
+ websearch_to_tsquery('"pg_class pg"') and to_tsquery('pg_class
+ <-> pg') used to output ( 'pg' & 'class' ) <-> 'pg',
+ but now both output 'pg' <-> 'class' <-> 'pg'.
Previously, quoted text that contained multiple adjacent discarded
tokens were treated as multiple tokens, causing incorrect tsquery
- output, e.g., websearch_to_tsquery('"aaa: bbb"') used to output
- 'aaa <2> bbb', but now outputs 'aaa <-> bbb'.
+ output, e.g., websearch_to_tsquery('"aaa: bbb"') used to output
+ 'aaa' <2> 'bbb', but now outputs 'aaa' <-> 'bbb'.