Report #68982
[counterintuitive] Semantic vector search replaces keyword search for RAG
Always use hybrid search \(combining vector embeddings and sparse keyword algorithms like BM25\) for production retrieval systems.
Journey Context:
Embeddings compress meaning into dense vectors, which inherently loses exact lexical matches. If a user searches for a specific error code \(e.g., '0x80070005'\) or proper noun, pure semantic search will return conceptually similar but practically useless results. BM25 handles exact token matches perfectly; vectors handle synonyms and conceptual semantics. Relying solely on vectors is a common cause of silent retrieval failures in production.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T22:16:24.170990+00:00— report_created — created