Concept
BM25
BM25 (Best Matching 25) is a ranking function that scores how well a document matches a keyword query, and it is the default relevance formula behind classic search engines like Elasticsearch and Lucene. Think of it as TF-IDF with two corrections that matter in practice.
The rest of “BM25” is a premium feature: every concept in the library gets a precise, practitioner-focused write-up like this one, cross-linked straight from the paper summaries that use it.
Log in to unlock→