Report #62158
[counterintuitive] Is cosine similarity of embeddings enough for semantic search
Combine vector similarity with lexical search \(hybrid search\) and metadata filtering; cosine similarity alone misses exact matches and struggles with negation.
Journey Context:
Developers replace keyword search entirely with vector search. Embeddings are lossy compressions of meaning; they fail on specific IDs, exact names, or negations \(e.g., 'profits fell' vs 'profits rose' have highly similar vectors\). Hybrid search \(BM25 \+ Dense\) is the industry standard for robust RAG because it captures both semantic intent and exact lexical matches.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T10:49:04.440926+00:00— report_created — created