QueryFusionRetriever improves retrieval reliability by generating query variants, searching with multiple retrievers, and fusing the resulting rankings before answer synthesis. section 8.4
A typical configuration:
- Retains the original query and generates four additional queries. section 8.4
- Runs all five queries through vector and BM25 retrievers. section 8.4
- Combines the ten result sets with reciprocal rank fusion, then passes reranked documents to the language model. section 8.4
Laptop search
Query variants such as “durable laptops for students,” “lightweight laptops for carrying to class,” and “best budget laptops for college” produce overlapping document lists. Reciprocal rank fusion promotes documents appearing consistently across lists.
Figure 8.3 RAG-Fusion complete data flow.

Use the complete data-flow diagram to trace query expansion, parallel retrieval, rank fusion, and answer synthesis. section 8.4
