Hybrid search architectures combine exact keyword lexical matching (Apache Lucene BM25) with semantic vector search (cosine similarity over dense embeddings) using Reciprocal Rank Fusion (RRF).
This diagnostic guide details how to interpret RRF ranking scores, identify when BM25 outperforms vector embeddings (exact code symbols, error codes), and troubleshoot semantic drift.
where r_m(d) is the 1-indexed rank of document d within search model m.