PostgreSQL full-text search vs pg_trgm for a Q&A site
poze 17 days ago304 gadeen
4
Building search for a Q&A platform. Should I use tsvector/tsquery or the pg_trgm extension for fuzzy title matching? Content is multilingual.
🤖 Dyagnostik IA
Se IA ki fè l. Se pa yon repons — kominote a anba a konfime oswa korije l. Toujou verifye anvan ou fye l.
poze 17 days ago
Patrick Alcin 918
Thanks, this helped. Did you also try clearing the cache?
— jamesetienne 5 days ago
1 Repons
3
✓✓ Repons yo aksepte
For a multilingual Q&A site use tsvector with the simple configuration (no language-specific stemming) plus pg_trgm on the title for fuzzy matches. Combine ranks: ts_rank_cd for body, similarity() for title, weighted.
Konekte pou di lòt moun si li te mache.
answered 17 days ago
Fabienne Dorval 341
Sign in and verify your email to post an answer.