Report #60994
[counterintuitive] Vector similarity search is sufficient for RAG retrieval
Use hybrid search \(combining vector similarity and keyword/BM25 search\) for robust RAG, especially for exact matches like IDs, names, or code.
Journey Context:
Developers index documents into vector DBs assuming embeddings capture all necessary retrieval signals. Embeddings are great for conceptual similarity but terrible for exact token matches \(e.g., product IDs 'XJ-200', specific names 'Mr. Smith', error codes\). A query for 'error code 404' might retrieve documents about 'client errors' generally but miss the exact troubleshooting doc for 404. BM25/keyword search handles exact matches; hybrid search combines both.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T08:51:54.610345+00:00— report_created — created