AI Glossary

BM25

Also called Okapi BM25

What does “BM25” mean?

BM25: A keyword ranking formula that scores how well a document matches the query's terms. It accounts for term rarity, repeated occurrences, and document length.

BM25 visual guide: A keyword ranking formula that scores how well a document matches the query's terms. It accounts for term rarity, repeated occurrences, and document length.
Visual guide Open full size (new tab)

What is an example of “BM25”?

Searching for a particular error identifier ranks pages containing the exact identifier above pages that lack it.