What is multi-query search?
Multi-query search sends several search queries for one information need at the same time and merges the results into a single deduplicated set. The queries are either rewrites of the same question or separate sub-questions about different parts of a topic. In RAG pipelines the same pattern is called multi-query retrieval. LangChain's MultiQueryRetriever has an LLM write a set of queries, retrieves documents for each one, and returns their unique union.
| Factor | Single query | Multi-query (rewrites) | Multi-query (sub-questions) |
|---|---|---|---|
| What it sends | One query | Several phrasings of one question | One query per aspect of the topic |
| Coverage | One framing | One intent in many vocabularies | Several angles, entities or sources |
| Latency | One round-trip | The slowest query, when parallel | The slowest query, when parallel |
| Merging | None | Deduplicate, then rank | Deduplicate, then group by sub-question |
| Best for | Lookups, fact checks | RAG over a vector store or index | Research synthesis, due diligence |
Use rewrites when the user's wording differs from how sources phrase the answer, which is the recall problem query expansion addresses. Use sub-questions in agentic search pipelines that synthesize many angles, such as competitive research or a technical landscape survey. Parallel queries keep search latency close to the slowest single query, but each extra query costs a request and adds duplicates to merge.
Firecrawl /search takes one query per request and returns full-page Markdown per result with scrapeOptions, so a multi-query batch runs as concurrent calls. Setting the developer or gov category on a call sends that sub-question to the Developer or Government index in Firecrawl Alexandria. When the agent should pick its own sub-queries, Firecrawl /agent takes a prompt, runs its own searches and processes multiple sources in parallel.