Comparison
bm25s vs pyserini vs rank-bm25 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 pyseriniVarious BM25 algorithms for document ranking
Low maintenance activity. Last release over 4 years ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install rank-bm25Fast, 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.
- rank-bm25 is the most used: 10.1M downloads a month, 5.5× more than bm25s.
- pyserini is better maintained: Pythie’s Index 90 against 13.
- pyserini is growing fastest: downloads +77% over the last month.