Pg_textsearch – BM25 Ranking for Postgres
I built pg_textsearch, a Postgres extension that brings proper BM25 ranking to full-text search. It's designed for AI/RAG workloads where search quality directly impacts LLM output. Postgres native ts_rank lacks corpus-aware signals (no IDF, no TF saturation, no length normalization). This causes mediocre documents to rank above excellent matches, which matters when your LLM depends on retrieval quality. Quick example: CREATE EXTENSION pg_textsearch; CREATE INDEX articles_idx ON articles USING bm25(content); SELECT title, content to_bm25query('database performance', 'articles_idx') AS…
Pg_textsearch – BM25 Ranking for Postgres launched on October 23, 2025 with 13 votes, #768 of 8,178 launches that month and more than 75% of that year's launches.
In plain words
pg_textsearch is a Postgres extension that implements BM25 ranking for full-text search. It addresses limitations in Postgres's native ts_rank function by adding corpus-aware signals like inverse document frequency, term frequency saturation, and length normalization. Built for AI and retrieval-augmented generation workloads where search result quality directly affects language model outputs, it integrates with pgvector for hybrid search and operates fully transactionally without sync jobs. The preview release uses an in-memory architecture with disk-based segments planned.
written from the facts on this page · September 2026
From the sources
Install and tune pg_textsearch (v1.1.0) for BM25 full-text search on Tiger Cloud and self-hosted deployments
In the maker’s words, at launch
I built pg_textsearch, a Postgres extension that brings proper BM25 ranking to full-text search. It's designed for AI/RAG workloads where search quality directly impacts LLM output. Postgres native ts_rank lacks corpus-aware signals (no IDF, no TF saturation, no length normalization). This causes mediocre…
Does a similar job
all alternatives →
Postgres extension for BM25 relevance-ranked full-text searchMar 2026 · github.com · ▲203Last summer we faced a conundrum at my company, Tiger Data, a Postgres cloud vendor whose main business is in timeseries data. We were trying to grow our business towards emerging AI-centric workloads and wanted to provide a state-of-the-art hybrid search stack in Postgres. We'd already built pgvectorscale in house with the goal of scaling semantic search beyond pgvector's main memory limitations. We just needed a scalable ranked keyword search solution too. The problem: core Postgres doesn't provide this; the leading Postgres BM25 extension, ParadeDB, is guarded behind AGPL; developing our…
AI Search ConsoleJul 2026 · search-console.ai · ▲493Prompt analytics and citation mapping for AI search
PgQueuer – Transform PostgreSQL into a Job Queue2024 · github.com · ▲376PgQueuer is a Python job queue that uses PostgreSQL for everything — queue storage, locking, notifications. No Redis, no RabbitMQ, no separate broker to operate. If your app already has Postgres, you already have the broker. After ~2 years and 26 minor releases, 1.0 ships today as the first stable release. Strict semver from here on. Thanks to everyone who contributed and left feedback!
pg_flame – flamegraph visualizations of PostgreSQL query plans2019 · github.com · ▲321A flamegraph generator for Postgres EXPLAIN ANALYZE output. - mgartner/pg_flame
Meilisearch AI2025 · meilisearch.com · ▲241Boost relevance and UX with fast hybrid and semantic search
Pgsemantic – Point at your Postgres DB, get vector search instantlyMar 2026 · github.com · ▲18Zero-config semantic search for any PostgreSQL database. pip install pgsemantic, three commands, done - varmabudharaju/pgsemantic
More ai this month
the category →



Paintings by AI models: programs run through a simulation of oil paint.
AI · 20d ago · stillwet.art

PixVerse R2▲381A real-time world model you can explore and change
AI · 28d ago · world.pixverse.video
Source: Show HN post ↗ · launch text quoted in part
Launched alongside, October 2025
the whole month →


I went down the rabbit hole on a side project and ended up building this: Strange Attractors(https://blog.shashanktomar.com/posts/strange-attractors). It’s built with three.js. Working on it reminded me of the little "maths for fun" exercises I used to do while learning programming in early days. Just trying things out, getting fascinated and geeky, and being surprised by the results. I spent way too much time on this, but it was extreme fun. My favorite part: someone pointed me to the Simone Attractor on Threads. It is a 2D attractor and I asked GPT to extrapolate it to…
AI · Oct 2025 · blog.shashanktomar.com

Autism Simulator▲779Hey all, I built this. It’s not trying to capture every autistic experience (that’d be impossible). It’s based on my own lived experience as well as that of friends on the spectrum. I'm trying to give people a feel for what masking, decision fatigue, and burnout can look like day-to-day. That’s hard to explain in words, but easier to show through choices and stats. I'm not trying to "define autism". I’ve gotten good feedback here about resilience, meds, and difficulty tuning. I’ll keep tweaking it. If even a few people walk away thinking, "ah, maybe that’s why my coworker struggles in those…
Life & fun · 2025 · autism-simulator.vercel.app
