
What Is Hybrid Search and How BM25 Plus Dense Vectors Beat Either Alone in RAG
Hybrid search fuses BM25 keyword retrieval with dense vector search using reciprocal rank fusion. Why two ranked lists beat either alone in RAG pipelines.
Most retrieval-augmented generation (RAG) systems started with pure dense vector search — embed the query, embed the documents, return whatever sits closest in vector space. That works for paraphrased questions but breaks the moment someone asks about “ISO 27001,” “GPT-4o,” or a specific customer order ID. The vector model treats those as hints, not literal targets, so it returns documents that are semantically nearby but lexically wrong. Hybrid search closes that gap: a keyword retriever runs alongside the vector retriever, so exact terms still hit while paraphrases still get found.
Under the hood, two retrievers run in parallel. The sparse side uses BM25 (Best Match 25), a keyword ranking function that scores documents by how often query terms appear and how rare those terms are across the corpus. The dense side uses an embedding model — OpenAI’s text-embedding-3 or a Cohere embed model — to turn each query and document into a vector, then ranks by similarity. Each retriever returns its own ranked list of candidates.
The two lists are then fused into one. The standard method is Reciprocal Rank Fusion (RRF), which scores each document by its position in each list rather than by raw retrieval scores — a document ranking well in both lists beats one ranking well in just one. According to Weaviate Blog, RRF is the default fusion algorithm in most managed vector databases, and several vendors expose a tunable weight so teams can dial keyword precision up for product catalogs or shift toward semantic recall for narrative content.
The most common place to encounter hybrid search is inside a production RAG pipeline. A product manager evaluating a chat-with-your-docs feature, a developer building a customer support assistant, or a team rolling out an internal Q&A tool will all run into it because pure vector search misses documents that depend on specific names, codes, or jargon. Swapping in hybrid is usually the first retrieval upgrade once a demo hits real users.
The integration pattern is the same across stacks. Frameworks like LangChain and LlamaIndex expose hybrid retrievers as a one-line swap from their dense-only equivalents. According to Vertex AI Docs, managed vector databases — Vertex AI Vector Search, Weaviate, Milvus, and Pinecone — handle the BM25 index, the vector index, and the fusion step natively, so application code sees a single query() call. The team picks an embedding model, points the index at the corpus, and tunes the sparse-dense weight if early evaluations show the system leaning one way.
In production, hybrid search is usually paired with a reranker — a smaller model that re-scores the top fused candidates so the most relevant documents end up in the final context window.
Don’t tune the sparse-dense weight in the abstract. Write twenty representative queries, run them through pure dense and hybrid retrieval, and see where each fails. Most corpora have either heavy keyword anchors (product IDs, error codes) or heavy semantic drift (support narratives), and the right weighting becomes obvious.
Start with what hybrid search is and how BM25 plus dense vectors beat either alone — it frames the two-retriever pattern and the fusion step before you touch any implementation detail. Then read BM25, SPLADE, and reciprocal rank fusion, which names the actual building blocks — a lexical index, a learned-sparse index, and the fusion algorithm that merges them — so the vocabulary in every later article stops being guesswork. Read score mismatch and tuning hell in the same sitting: it is where the theory in the first two articles meets the failure modes you will actually debug.
Once the mechanics are solid, the Weaviate, Qdrant, and SPLADE build guide turns the three specification surfaces — sparse, dense, fusion — into a working pipeline. For the market context behind that choice, how hybrid search powers production RAG at Notion, Perplexity, and Glean and the Weaviate BlockMax WAND / Qdrant Query API standardization race show where the vendors and the production leaders are converging. Close with hybrid search looks neutral but isn’t — if your corpus isn’t monolingual English, read it before you ship the defaults.

Three neighbouring stages get folded into “hybrid search” in casual conversation, and each mix-up sends tuning effort to the wrong place.
| Scenario | Use | Avoid |
|---|---|---|
| RAG over technical documentation with specific product names, error codes, or version numbers | ✅ | |
| Pure semantic Q&A over conversational text where users only ask paraphrased questions | ❌ | |
| Customer support knowledge base mixing tickets, articles, and policies | ✅ | |
| Real-time recommendation engine where latency matters more than recall | ❌ | |
| Legal or compliance search where missing an exact citation is unacceptable | ✅ | |
| Tiny corpus of a few hundred short documents where BM25 alone already ranks well | ❌ |
Q: Do the major vector databases handle hybrid search the same way? A: No — Weaviate and Qdrant each ship their own fusion algorithm and query surface (Weaviate’s relativeScoreFusion and rankedFusion, Qdrant’s RRF and DBSF), and both are racing to standardize behind a single query endpoint. The BlockMax WAND / Qdrant Query API race tracks who is winning it.
Q: Which production teams are actually running hybrid search, not just benchmarking it? A: Notion, Perplexity, and Glean — three different domains, workspace AI, web search, and enterprise search — all converged on hybrid as their production default over pure-vector retrieval. How hybrid search powers production RAG at scale maps what they share.
Q: Is hybrid search worth building, or should dense-only retrieval stay the default? A: Add the sparse leg when exact terms matter — statute numbers, drug codes, function names, SKUs; dense-only stays fine when paraphrase tolerance is what your queries actually need. The Weaviate, Qdrant, and SPLADE build guide spells out the three specification surfaces before you commit.
Q: Does hybrid search retrieve fairly across languages? A: Not automatically — BM25’s lexical matching was tuned on languages with simple morphology, so the keyword leg can under-serve morphologically rich languages even while the vector leg reads them fine. Hybrid search looks neutral but isn’t traces the mechanism.
Part of the retrieval-augmented generation stack · closest neighbour: reranking. Coming to retrieval from a software background? Start with the story: Debugging RAG Failures: Why Developers Need a New Diagnostic Model.
Hybrid search isn't just two retrievers running in parallel — the real engineering challenge lives in how their scores get fused. Understanding why dense and sparse methods fail in opposite ways is what makes the combination work.
Concepts covered

Hybrid search fuses BM25 keyword retrieval with dense vector search using reciprocal rank fusion. Why two ranked lists beat either alone in RAG pipelines.

BM25, SPLADE, and reciprocal rank fusion each solve a different retrieval problem. Here's how the three combine into a production hybrid search system.

Hybrid search merges BM25 and vector results, but the fusion step has hard limits. Score mismatch, RRF blindness, and tuning hell — explained.
The build guides walk through wiring BM25 and vector search together, picking a fusion strategy, and tuning the weights without overfitting to a benchmark. Expect trade-offs around latency, index size, and how aggressively you rerank.
Tools & techniques

Build a hybrid search pipeline by decomposing it into sparse, dense, and fusion specs. Covers Weaviate, Qdrant, and SPLADE-v3 for enterprise RAG.
Hybrid search is shifting from a hand-rolled pattern to a first-class feature in vector databases, with new fusion algorithms and query APIs landing fast.
Models & benchmarks
Updated April 2026

Hybrid search is now the production RAG default. How Perplexity, Glean, and Notion combine lexical and semantic retrieval at scale, and what it signals.

Hybrid search is no longer a vendor differentiator. Weaviate's BlockMax WAND, Qdrant's Query API, and Postgres extensions are converging on one shape.
Hybrid search looks like a neutral combination of two methods, but it inherits the biases of both — including how poorly keyword matching handles morphologically rich languages. Worth thinking about before assuming the defaults are fair.
Risks & metrics

Hybrid search looks neutral. But BM25's tokenizer favors English, and the languages it leaves behind reveal what fairness asks of retrieval systems.