Glossary
What is BM25? Definition and meaning
A probabilistic ranking function that scores documents by term frequency and rarity.
Definition
BM25: A probabilistic ranking function that scores documents by term frequency and rarity.
In short: Classic keyword ranking function.
When it is used
Lexical search and the keyword half of hybrid search.
Learn more
The full guide to BM25 explains how it works, when to use it and how it compares with the alternatives, with examples. The glossary lists every term on the site from A to Z.