Indexed Full-Text Retrieval

Same search semantics. Better retrieval architecture.

V3 keeps the linguistic retrieval introduced in V2, but moves document-vector construction to the write path and adds a PostgreSQL GIN inverted index for candidate lookup.

Try
GIN

Indexed linguistic retrieval

Search to inspect whether PostgreSQL chooses the GIN index, how many rows are retrieved, and how V3 compares with V2.

01

Persisted vector

Product search vectors already exist before a search begins.

02

Trigger maintenance

PostgreSQL rebuilds the vector when relevant product fields change.

03

GIN retrieval

An inverted index helps PostgreSQL locate matching lexemes efficiently.