Designing Retrieval in RAG: Dense, Sparse, and the Reciprocal Rank Fusion (RRF) Merge Layer

Think of RAG as a multi-stage filtering system: