↓ Skip to main content
  1. Glossary/

BM25

A keyword search method that scores a document by the query words it contains. A word adds more to the score when it appears often in the document and rarely in the rest of the corpus.

A query asks for “late delivery penalty”. BM25 ranks first the clause that uses “late delivery” three times. A clause about a “delayed shipment fee” gets no score, because it shares no word with the query.

Appears in