Glossary: RAG Beyond the Basics
BM25
Also written: keyword search, keyword score, rank-bm25
A keyword-matching scoring method that ranks chunks by how well their words match the query's words. It works well on exact codes like "INV-2026-0919" and is combined with vector search in hybrid search.