

PostgreSQL extension enabling fast full-text, faceted, and hybrid search over Postgres tables using the BM25 algorithm. Built on Tantivy for production-ready search with ACID guarantees and transactional consistency.
ParadeDB pg_search is a Postgres extension that enables fast full-text, faceted and hybrid search over Postgres tables using the BM25 algorithm. It is built on top of Tantivy, the Rust-based alternative to Apache Lucene, using pgrx.
ParadeDB uses Rust to implement BM25 indexes, adding them to PostgreSQL through the open-source pg_search extension. BM25 (short for Best Matching 25, often called Okapi BM25) measures relevance by balancing term frequency, document rarity, and length normalization.
While PostgreSQL supports basic term matching, it lacks a native implementation of BM25, the probabilistic ranking function that underpins most modern search systems including Elasticsearch.
Hybrid search in PostgreSQL combines BM25's lexical precision with vector embeddings' semantic understanding using RRF (Reciprocal Rank Fusion) fusion.
ParadeDB and pgvector make hybrid search possible without external dependencies—everything runs in your existing database with ACID guarantees and transactional consistency.
Open-source on GitHub and available through PGXN (PostgreSQL Extension Network).
Free and open-source.
Loading more......