PostgreSQL · Function
to_tsquery
to_tsquery converts a structured text query into a tsquery value. It normalizes words, removes stop words, and supports operators, weights, and prefix matching.
Last updated
Syntax
to_tsquery([ config regconfig, ] querytext text) returns tsqueryIn-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
plainto_tsqueryphraseto_tsquerywebsearch_to_tsqueryto_tsvectortsquerytsvector@@