| What it is | Lightweight fuzzy-search library, with zero dependencies | Fast full-text search library for the browser and Node.js | PostgreSQL extension for BM25 relevance-ranked full-text search | Fast open source search database for full-text, vector and hybrid search, an Elasticsearch alternative |
| Features | - fuzzy search with a bit-parallel matcher
- token search with IDF ranking
- extended search operators
- logical $and / $or search
- weighted and nested keys
- match scores and indices
- FuseWorker for Web Worker parallel search
- zero dependencies
| - multi-field document search
- phonetic transformations and partial matching
- tag search, highlighting and suggestions
- worker threads for parallel indexing and queries
- persistent indexes in IndexedDB, Redis, SQLite, Postgres, MongoDB or ClickHouse
- Latin, CJK, Hindi and Arabic charsets
| - 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
| - full-text, fuzzy and autocomplete search
- vector, hybrid, image and geo search
- conversational search with CALL CHAT
- auto-embeddings with chunking
- SQL over the MySQL protocol and an HTTP JSON API
- Elasticsearch-compatible writes
- row-wise and columnar storage
- automatic secondary indexes and cost-based optimizer
- All 12 features
|
| Limitations | - Designed for small-to-medium datasets searched in memory, not as a replacement for a search server.
| | - 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
| - Not fully ACID-compliant: supports isolated transactions and binary logging
- On Windows it runs only through WSL2
|