| Features | - bm25vector type: token IDs and frequencies stored as a sparse vector
- bm25 index with the Block-WeakAnd algorithm and a negative-score
<&> operator for ascending ORDER BY - tokenizers from pg_tokenizer: pre-trained models (BERT, llmlingua2, gemma2b) or custom models trained on your corpus
- text analyzers with Unicode segmentation, stopwords and Porter2 stemming
- jieba pre-tokenizer for Chinese
- triggers that keep the bm25vector column in step with the source text
- vchord-suite Docker image for PostgreSQL 17 and 18 with VectorChord and pg_tokenizer
| - bm25 index access method with configurable k1 and b
<@> operator for ranked ORDER BY ... LIMIT queries, and to_bm25query() to name the index- uses PostgreSQL text search configurations, including Chinese through zhparser
- Block-Max WAND for fast top-k queries
- expression, partial and partitioned indexes, including JSONB fields and text arrays
- Boolean and phrase filtering with tsquery (&, |, !, <->, prefix matching)
- parallel index builds, segment compression and background compaction (with pg_durable)
- physical replication and hot standby support
- All 9 features
| - BM25 scoring, top-k, highlighting, tokenizers and token filters
- vector search and hybrid search
- filters, aggregates, bucket and metrics aggregations, facets, columnar storage
- joins over search results
- standard SQL and ACID transactions, with search in the same database as application data
- prebuilt packages for Debian 12 and 13, Ubuntu 24.04 and 26.04, RHEL 9 and 10, and macOS on Apple Silicon (Postgres 15+)
- Docker image and CloudNativePG deployment on Kubernetes
- guides for Railway, Render, Fly.io, Dokku and DigitalOcean
- All 11 features
|
| Limitations | - Doesn't return more than bm25_catalog.bm25_limit results from an index scan (100 by default): raise it for larger LIMITs or strict filters
- Doesn't come tested beyond English: its makers have only tested English, and other languages need a tokenizer with a larger vocabulary
| - Doesn't run on PostgreSQL 16 or older: it supports PostgreSQL 17, 18 and the 19 release candidate
- Doesn't give scores you can compare across partitions: BM25 statistics are kept per partition of a partitioned table
- Doesn't have built-in faceted search
- Doesn't index TimescaleDB compressed chunks or compressed table data
| - Doesn't run on Intel Macs: its macOS packages are for Apple Silicon (arm64) only
|