PostgreSQL · Function
to_tsvector
to_tsvector converts document text into a searchable tsvector. It normalizes words, removes stop words, and records lexeme positions using a text search configuration.
Last updated
Syntax
to_tsvector([ config regconfig, ] document text) returns tsvectorIn-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
tsvectortsqueryto_tsqueryplainto_tsqueryphraseto_tsquerywebsearch_to_tsquerysetweight@@