Why Your RAG System Passes Every Test and Still Gives a Dangerous Answer

Video by NetApp Instaclustr via YouTube
Why Your RAG System Passes Every Test and Still Gives a Dangerous Answer

A RAG system passed every test we wrote. In production, it told someone with a sulfite allergy that their recipe was safe. It wasn’t.

Same code. Same model. Same OpenSearch index. The only thing that changed was which recipe got retrieved – and that’s the part most RAG tutorials skip.

This video walks through four real, runnable fixes to a retrieval pipeline, each one built because the fix before it wasn’t enough:

1. Vector search alone retrieves what’s *similar*, not what’s
*correct* – and silently drops the right document

2. BM25 + named entity recognition fixes that, but now you’re
running (and depending on) a second service

3. OpenSearch’s native hybrid search gets the same fix in one query,
no extra service required

4. Hard filters, not scores, are what actually guarantee a safety
constraint like "no sulfites"

Every index here runs on an NetApp Instaclustr-managed OpenSearch cluster, and the vector indexes are built off-cluster on a remote GPU build service – recall identical to a CPU-built control, storage down from 389MB to 150MB per index.

Code (runnable, all four stages): https://github.com/ramyaravi1/opensearchcon-2026-fix-your-retrieval-gpu-cluster

If your RAG system has ever been confidently wrong, I want to hear the story in the comments. The fix is almost always upstream, in retrieval, not in the model.

Subscribe for more demos just like this one!

Source