postgresql_16:3.9.3 Controlling Text Search
PostgreSQL 16 > The SQL Language > Full Text Search > Controlling Text Search
To implement full text searching there must be a function to create a tsvector from a document and a tsquery from a user query. Also, we need to return results in a useful order, so we need a function that compares documents with respect to their relevance to the query. It's also important to be able to display the results nicely. PostgreSQL provides support for all of these functions.
Subsections
- postgresql_16:3.9.3.1 Parsing Documents
- postgresql_16:3.9.3.2 Parsing Queries
- postgresql_16:3.9.3.3 Ranking Search Results
- postgresql_16:3.9.3.4 Highlighting Results