PaPoo
cover

What is semantic search?

Semantic search is a way to find information by meaning, not just by matching the exact words you typed.

Why it matters

Traditional keyword search is good when you know the exact term to look for. Semantic search helps when users phrase the same idea in different words, use synonyms, or ask a question instead of naming a document.

You’d reach for it when:

In practice, teams often use semantic search as the retrieval layer for AI apps, document search, and question answering.

How it works

At a high level, semantic search turns text into numerical representations that capture meaning. These are often called embeddings.

  1. A model converts the query and each document, passage, or chunk into vectors.
  2. The search system compares those vectors to find items that are close in meaning.
  3. The closest matches are returned, often with a reranker or filters on top.

This differs from classic lexical search, which mainly scores shared words and phrases. Semantic search can match “how do I reset my password?” with “account recovery steps” even if the words do not overlap much.

Many real systems combine both approaches. A lexical index helps with exact terms, names, and rare tokens; a semantic layer helps with meaning and paraphrase. That hybrid setup is common because pure semantic retrieval can miss exact matches, while pure keyword search can miss intent.

Tiny concrete example

Query: How do I change my email address?

Possible semantic search result:

Those documents may not contain the exact phrase “change my email address,” but they are semantically related.

Common pitfalls / when NOT to use it

Related terms

Related terms

同じ著者の記事