Report #47250
[counterintuitive] semantic search with embeddings handles negation and logical operators
Use keyword search \(BM25\) or structured metadata filters for negation and hard logic; use embeddings only for semantic similarity.
Journey Context:
Developers replace traditional search with vector search, assuming embeddings understand meaning. Embeddings map text to spatial proximity based on co-occurrence and context. 'Not good' and 'Good' often have nearly identical embeddings because they appear in similar contexts. Vector search will fail on queries like 'movies without vampires' because it cannot process the exclusion operator.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T09:47:37.956160+00:00— report_created — created