Oct 25, 2026 · 3 min read · retrieval

RAG in production: where retrieval actually fails

Retrieval-augmented generation looks simple in demos: embed documents, find the closest chunks, paste them into the prompt. In production most failures happen before the model sees anything.

Typical failure points

What helps

Hybrid search (keyword + vectors), a reranker on the top 20–50 candidates, metadata filters for dates and versions, and chunking that respects document structure. Log the retrieved chunks for every answer so you can see what the model was given.

Measure retrieval separately

Before judging answer quality, check whether the right chunk was retrieved at all. Recall@10 on a labelled set tells you whether to fix the search or the prompt.

Written by: M. Weber. All articles →