If you've built a RAG pipeline with ChromaDB, pgvector, or Oracle Vector Search, you've probably seen this failure mode: a user asks for an exact error code (ERR_4092), an invoice ID, or a specific API flag—and dense embeddings return five vaguely related paragraphs that miss the exact match completely.

According to Second Talent's 2026 RAG Engineer Guide, hybrid search and cross-encoder reranking are now baseline expectations for production RAG pipelines.

Why Dense-Only Retrieval Hits a Ceiling

Dense embeddings (BAAI/bge-small-en-v1.5, OpenAI, or Voyage) excel at semantic meaning ("interest-rate discrepancy" matching "APR mismatch"). They struggle with exact tokens, product codes, acronyms, and rare IDs.

BM25 (keyword/lexical search) does the exact opposite: it nails exact strings and rare terms, while missing synonyms.

The Two-Stage Production Pattern

  1. Stage 1 — Hybrid Retrieval (Recall): Run BM25 and dense vector search in parallel, then merge the top 30–100 candidates using Reciprocal Rank Fusion (RRF).

  2. Stage 2 — Cross-Encoder Reranking (Precision): Pass those 30–100 (query, chunk) pairs through a cross-encoder (such as BAAI/bge-reranker or Cohere Rerank) and keep only the top 5 chunks for your LLM prompt.

Because a cross-encoder reads the query and document together with full attention, it catches subtle relevance signals that single-vector cosine similarity misses—lifting NDCG@k and faithfulness without bloating your context window.

15-Minute Integration Checklist

  • Add a lightweight BM25 index alongside your existing ChromaDB or Oracle Vector Search retriever.

  • Pull top_k = 30 combined candidates instead of top_k = 5.

  • Score them with BAAI/bge-reranker-base (or bge-reranker-v2-m3) before your retrieval confidence gate and LLM call.