When should PostgreSQL search use full-text, trigram, or both?
I need search across article titles and long bodies. Users also type incomplete words and make small spelling mistakes. Code example At roughly 300,000 rows this query is slowing down. How would you choose between a GIN full text index and pg trgm ?