Comparison
bm25s vs pyserini vs tantivy vs Whoosh
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
An ultra-fast implementation of BM25 based on sparse matrices.
Actively maintained. Last release 6 days ago, commits in 12 of the last 26 weeks. A safe choice.
pip install bm25sA Python toolkit for reproducible information retrieval research with sparse and dense representations
Actively maintained. Last release 3 days ago, commits in 26 of the last 26 weeks. A safe choice.
pip install pyseriniOfficial Python bindings for the Tantivy search engine
Actively maintained. Last release 6 weeks ago, commits in 24 of the last 26 weeks. A safe choice.
pip install tantivyFast, pure-Python full text indexing, search, and spell checking library.
Likely abandoned. No release or commit for years (last release over 10 years ago).
pip install whooshIn short
- Whoosh looks abandoned: avoid it for new projects.
- tantivy is the most used: 2.1M downloads a month.
- Maintenance is comparable: pyserini 90, tantivy 86, bm25s 84 on Pythie’s Index.
- pyserini is growing fastest: downloads +77% over the last month.
- Safe default for a new project: tantivy.