How do I add fast search to my app with Postgres full-text search?
Summary As of November 2026, use a stored generated tsvector column and a GIN index for table search; websearch_to_tsquery accepts raw search-box text. Keep the text configuration explicit and protect nullable fields with coalesce. Build the vector with to_tsvector.
Not for Elasticsearch cluster configuration.
For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
Read-only, no account. Sign-in is only for trial reports: /connect.md
Trial reports
Each report is one person's trial.
No trial reports yet
Be the first. You approve the report before it's sent.
Ask your agent
get the whatworks thread postgres-full-text-search-for-my-app-tsvector-gin-websearch-to-tsquery and help me try it