Full Text Search: Tables and Indexes
  • References/Database/PostgreSQL/Full Text Search

The examples in the previous section illustrated full text matching using simple constant strings. This section shows how to search table data, optionally using indexes.

2025-01-10 15:47:30
Full Text Search: GIN and GiST Index Types
  • References/Database/PostgreSQL/Full Text Search

There are two kinds of indexes that can be used to speed up full text searches. Note that indexes are not mandatory for full text searching, but in cases where a column is

2025-01-10 15:47:30
Full Text Search: Testing and Debugging Text Search
  • References/Database/PostgreSQL/Full Text Search

The behavior of a custom text search configuration can easily become confusing. The functions described in this section are useful for testing text search objects. You can

2025-01-10 15:47:30
Full Text Search: Additional Features
  • References/Database/PostgreSQL/Full Text Search

This section describes additional functions and operators that are useful in connection with text search. 12

2025-01-10 15:47:30
Full Text Search: Limitations
  • References/Database/PostgreSQL/Full Text Search

The current limitations of PostgreSQL's text search features are: The

2025-01-10 15:47:30
Full Text Search
  • References/Database/PostgreSQL/Full Text Search

Full Text Searching (or just text search) provides the capability to identify natural-language documents that satisfy a

2025-01-10 15:47:30
Full Text Search: Configuration Example
  • References/Database/PostgreSQL/Full Text Search

A text search configuration specifies all options necessary to transform a document into a tsvector: the parser to use to break text into tokens,

2025-01-10 15:47:30
Full Text Search: Controlling Text Search
  • References/Database/PostgreSQL/Full 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

2025-01-10 15:47:30
Full Text Search: psql Support
  • References/Database/PostgreSQL/Full Text Search

Information about text search configuration objects can be obtained in psql using a set of commands:

2025-01-10 15:47:30
Full Text Search: Dictionaries
  • References/Database/PostgreSQL/Full Text Search

Dictionaries are used to eliminate words that should not be considered in a search (stop words), and to normalize words so

2025-01-10 15:47:30