ML//RAG//BM25
- Best Matching 25: classic keyword ranking algorithm for information retrieval.
Best Matching 25: classic keyword ranking algorithm for information retrieval.
Scores documents by term frequency, inverse document frequency, and document length normalization.
Still competitive with embeddings for exact-match queries. Most production RAG uses BM25 + vectors (hybrid search)