← Back to glossary

BM25

A sparse-retrieval algorithm that ranks documents by term matches, frequency, and text length. It remains valuable when identifiers, proper names, or exact language matter, cases where embeddings may bring distinct concepts too close together. In hybrid search, BM25 provides a lexical signal that complements semantic similarity.