Distributed Hybrid RAG & Rerank Mesh
Back to Projects
RAG & LLM2026

Distributed Hybrid RAG & Rerank Mesh

Dense Vector + BM25 RRF + Cross-Encoder Pipeline at 10M+ Scale

Project Overview

Designed an end-to-end Hybrid RAG architecture capable of indexing 10M+ enterprise document chunks with sub-40ms retrieval latency. Queries undergo multi-query expansion and metadata pre-filtering before hitting Qdrant HNSW dense indexes and BM25 sparse indexes in parallel.

Results are merged via Reciprocal Rank Fusion (RRF), re-scored by a Cross-Encoder reranker, and expanded via Parent-Child context resolution so the LLM receives complete, coherent sections with verifiable inline citations and Ragas faithfulness gating.

97.4%
Recall@10
38ms
P95 Retrieval
0.982
Faithfulness
10M+
Indexed Docs

Gallery

Distributed Hybrid RAG & Rerank Mesh screenshot 1
Distributed Hybrid RAG & Rerank Mesh screenshot 2

Key Features

  1. 01
    Parallel Dense HNSW + Sparse BM25 hybrid retrieval with RRF fusion
  2. 02
    Cross-Encoder reranking + Parent-Child document context expansion
  3. 03
    Automated Ragas CI/CD evaluation suite across 500+ golden QA pairs
  4. 04
    Zero-hallucination inline citation grounding & permission ACL filtering
  5. 05
    Incremental async ingestion pipeline with deduplication hashing

Technology Stack

PythonQdrantBM25Cohere RerankFastAPIOpenAIRagasPostgreSQL