AI CompendiumA public chart of the language
Home / Retrieval & Memory / Semantic Search
Retrieval & Memory

Semantic Search

Search by meaning instead of matching words.

Definition

Retrieval that ranks results by embedding similarity rather than lexical overlap, so it finds relevant items that use different vocabulary than the query.

Semantic search is strong on paraphrase, weak on exact identifiers — SKUs, error codes, names. That is exactly why hybrid search exists.

Its characteristic failure is the plausible neighbour: a result that is semantically adjacent but factually wrong for the question. This is why production systems pair it with lexical search and reranking, and why evaluation of retrieval quality has to look at what was returned, not just at whether the model produced a fluent answer.

How people use it
Explaining why search returned something odd.
"It matched on meaning, not the string. That is a feature for questions and a bug for part numbers."
Worked example

The near miss that reads well

A policy question returns the wrong policy’s section, which sounds similar.

Vectors captured the topic but not the distinguishing detail — a date, a plan name, a version. Lexical search catches exactly those tokens, which is the concrete argument for hybrid retrieval rather than a purely semantic index.

Sources
Related terms