Hybrid retrieval explained: dense search, BM25, and Reciprocal Rank Fusion

Why combining vector search with keyword search beats either alone, and how Reciprocal Rank Fusion merges the two without score normalisation headaches.

Talking through the products he has shipped
Talking through the products he has shipped

Dense vector search is good at meaning. Ask about "a smart farming assistant" and it'll find a chunk about "an AI agribot for real-time guidance" even without a shared word. But it's bad at exact strings — a specific product SKU, an error code, a number — because those don't carry semantic meaning the way concepts do.

BM25 covers the gap

BM25 is decades-old keyword search, and it's still the right tool for exact-term matching. Run it alongside dense search, not instead of it.

Merging two ranked lists without breaking anything

The naive approach — averaging similarity scores from two different systems — breaks because the score scales aren't comparable. Reciprocal Rank Fusion (RRF) sidesteps this entirely: each chunk's fused score is the sum of 1 / (k + rank) across every list it appears in. No normalisation needed, because rank position, not score magnitude, is what's being combined.

When hybrid retrieval actually matters

If your documents contain product names, version numbers, or specific figures a user might search verbatim, hybrid retrieval isn't optional — pure vector search will silently miss exact queries and you may never notice, because the wrong answer still sounds plausible.

RAGRetrievalGuide
Pranjul Rathour
Pranjul Rathour
GenAI Engineer · Kanpur, Uttar Pradesh, India

GenAI engineer and AI product builder with 2+ years shipping production-grade AI systems: RAG pipelines, fine-tuned LLMs, hybrid retrieval and multi-modal apps across vision, speech and OCR, architected end to end from ingestion to deployment. Leads engineering for SCULT INDIA's 14-member team, founded the 500+ member TechVerse Enclave community and has mentored 200+ students. Three hackathon first prizes: Changethon 2025 (IIT Roorkee), Product Genesis at Vividhotsava 2025 (CSJMU Kanpur) and BYTEBATTLE (MeetKats).

Open to GenAI roles, hackathon judging, mentorship sessions and guest talks at colleges. Email pranjulrathour41@gmail.com.

Keep reading

More on RAG & retrieval

All RAG & retrieval posts →
Campus talks · hackathon judging · mentoring

Want this as a live session at your college?

Open to GenAI roles, hackathon judging, mentorship sessions and guest talks at colleges.

Pranjul Rathour, GenAI engineer in Kanpur