Created by: slimsag
Stacked on top of #26485, extracted from a larger PR #26483
This change adds a few utilities which will be used for querying the API docs search index:
ts_rank_cd(...) + ts_rank_cd(...)...
expressions given a query string,
which is needed for ranking results.tsquery
column_name @@ ... OR column_name @@ ... OR column_name @@ ...
expressions given a query string, which is needed for actually querying the lsif_data_docs_search_*
tables' tsvector indexes.Helps #21938