search

to_tsvector

Parses and normalizes text using a search configuration and records lexeme positions. Pin the configuration for reproducibility.

Formal Syntax & Structure

sql syntaxsql
to_tsvector([config,] document)

Working Example

Example Snippetsql
SELECT to_tsvector('simple', 'SQL SQL guide');
SQL Reference