1 Comment
User's avatar
Artur Mokriak's avatar

Hi,

PostgreSQL will most likely not use a GIN trigram index, because term + '%' is a prefixed search, and it is perfectly optimized by a btree index over a regular collation (if case is not important - via citext).

Expand full comment