Skip to main content

Module pg_fts_funcs

Module pg_fts_funcs 

Source
Expand description

Lowering helpers for PG full-text search surface operators.

These functions are called from resolver/expr.rs to lower PG FTS operators/casts to internal SqlExpr::Function nodes before the generic expression lowering path runs.

Functionsยง

lower_pg_fts_match
Lower col @@ query_expr to pg_fts_match(col, query_expr).
lower_pg_plainto_tsquery
Lower plainto_tsquery('...') / plainto_tsquery(lang, '...') args.
lower_pg_to_tsquery
Lower to_tsquery('...') / to_tsquery(lang, '...') args.
lower_pg_websearch_to_tsquery
Lower websearch_to_tsquery('...') / websearch_to_tsquery(lang, '...') args.
lower_phraseto_tsquery
Lower phraseto_tsquery('...') args.