PostgreSQL Full-Text Search: Fast When Done Right (Debunking the Slow Myth)
blog.vectorchord.ai
PostgreSQL Full-Text Search: Fast When Done Right (Debunking the Slow Myth)
1–10 of 90 posts
Re: PostgreSQL Full-Text Search: Fast When Done Right (Debunking the Slow Myth)
#2I'm shocked that the original post being referred to made this mistake. I recently implemented Postgres FTS in a personal project, and did so by just reading the Postgres documentation on FTS following the instructions. The docs lead you through the process of creating the base unoptimized case, and then optimising it, explaining the purpose of each step and why it's faster. It's really clear that is what it's doing, and I could only assume that someone making this mistake is either doing so to intentionally misrepresent Postgres FTS, or because they haven't read the basic documentation.
Re: PostgreSQL Full-Text Search: Fast When Done Right (Debunking the Slow Myth)
#3> Mistake #1: Calculating tsvector On-the-Fly (Major issue) I'm shocked that the original post being referred to made this mistake. I recently implemented Postgres FTS in a personal project, and did so by just reading the Postgres documentation on FTS following the instructions. The docs lead you through the process of creating the base unoptimized case, and then optimising it, explaining the purpose of each step and…
The PG docs make it clear that this only affects row rechecks, so this would only affect performance on matching rows when you need to verify information not stored in the index, e.g. queries with weighted text or queries against a lossy GiST index. It's going to be use-case dependent but I would check if your queries need this before using up the additional disk space.
Re: PostgreSQL Full-Text Search: Fast When Done Right (Debunking the Slow Myth)
#4Re: PostgreSQL Full-Text Search: Fast When Done Right (Debunking the Slow Myth)
#5Re: PostgreSQL Full-Text Search: Fast When Done Right (Debunking the Slow Myth)
#6Re: PostgreSQL Full-Text Search: Fast When Done Right (Debunking the Slow Myth)
#7I'm legitimately curious -- why do people want to put EVERYTHING into postgres? I don't understand this trend (vector search, full text search, workload orchestration, queues, etc.)
Re: PostgreSQL Full-Text Search: Fast When Done Right (Debunking the Slow Myth)
#8I'm legitimately curious -- why do people want to put EVERYTHING into postgres? I don't understand this trend (vector search, full text search, workload orchestration, queues, etc.)
Re: PostgreSQL Full-Text Search: Fast When Done Right (Debunking the Slow Myth)
#9I'm legitimately curious -- why do people want to put EVERYTHING into postgres? I don't understand this trend (vector search, full text search, workload orchestration, queues, etc.)
Re: PostgreSQL Full-Text Search: Fast When Done Right (Debunking the Slow Myth)
#10Alternative solutions (lucene/ tantivy) are both designed for 'immutable segments' (indexing immutable files), so marrying them with postgres heap table would results in a worse solution.