The following documentation comment has been logged on the website:
Page: https://www.postgresql.org/docs/12/functions-textsearch.html
Description:
Page: https://www.postgresql.org/docs/12/functions-textsearch.html
Examples should have specified 'english'.
Instead:
to_tsvector('fat cats ate rats') @@ to_tsquery('cat & rat')
which returns fale on my own blank installation of Postgre (Serbian locale
Windows OS) instead of true:
to_tsvector('english', 'fat cats ate rats') @@ to_tsquery('cat & rat')