New here? Start this series at Day 19: Reranking is where retrieval becomes useful
- Day 19: Reranking is where retrieval becomes useful
- Day 20: Every important AI claim needs a receipt
- Day 21: Good RAG needs the precise snippet and the context around it
- Day 22: One question can need many searches
- Day 23: Answer complex questions in parts, and check each part
- Day 24: Some answers live in relationships, not documents
Users do not ask questions the way documents answer them.
Someone types "is this tool actually worth it?" Your knowledge base holds a pricing table, a feature comparison, and three case studies. Not one of them resembles that sentence, semantically or lexically, and a single retrieval pass returns something disappointing.
Multi-query retrieval attacks that mismatch directly. It takes the one vague question, generates several sharper ones ("pricing tiers," "feature comparison versus alternatives," "customer outcomes"), searches each independently, then merges the result lists (reciprocal rank fusion is one way) and deduplicates.
The component you just added
What the architecture diagram usually skips is that you now have a rewriter, and the rewriter is a model making silent judgement calls about what your user meant.
When retrieval mysteriously fails on questions that should have worked, the cause is frequently a rewrite nobody ever looked at. Too narrow, so the good documents fell outside all four variants. Too clever, so it answered a more interesting question than the one asked. Or subtly off-intent in a way that is obvious the moment you read it and invisible if you never do.
So the first operating rule is an unglamorous one. Log every generated variant alongside the original query. Rewrites you cannot inspect are failures you cannot diagnose, and they will present as "retrieval is flaky."
Controlling the fan-out
The cost of this pattern hides well. It shows up as a slow, expensive answer, and without a trace span per retrieval call it gets blamed on the model.
Multiply it out for four variants, each retrieving twenty candidates, each reranked. That is one user question consuming four retrieval calls, eighty candidate evaluations, and a merge, versus one call for a simple lookup. The rewrite itself is a model call that has to finish before any search can start, so its full latency lands on every expanded question.
Three controls worth having from the start:
- Cap the variants. Four good rewrites beat ten mediocre ones, and the tail adds cost without adding coverage.
- Route by need. Specific questions with clear terms should skip expansion entirely. Fanning out "what is our office address" is pure waste.
- Attribute the win. Track which variant produced the evidence that ended up cited. If variant four never contributes across a thousand queries, stop generating it.
The test worth running
Take a deliberately broad question and watch the whole fan-out: the variants generated, what each returned, and what actually reached the final answer.
You are checking whether the extra searches found evidence the single search would have missed, or found the same documents four times and billed you for the privilege.
Both outcomes are common, and only one justifies the pattern. Where the variants surfaced cited evidence the original query missed, keep expansion for that class of question. Where they returned the same documents, route that class to a single search and take the rewriter out of its path.
Terms in this piece
About this explainer
- Format
- Explainer
- Level
- Practitioner
- Read
- 2 min read
- Published
- Jun 13, 2026
- Disciplines
Short mental models: one idea, why it matters, what to do about it.
More on these topics
Decision note · · 2 min read
We chose Azure AI Search for retrieval because ingestion and filtering stay simple
Why our retrieval runs on Azure AI Search: our Databricks ingestion pipelines feed it directly, filtering is simple, and several semantic configurations share one index.
Checklist · · 12 checks
RAG production-readiness checklist
Twelve checks to pass before a retrieval system answers a real user. Tick them locally; progress stays in your browser.
Failure story · · 1 min read
The retrieval cache that served stale policies
A well-meaning cache in front of retrieval kept answering from last quarter's HR policy for eleven days.
Discussion