The Alternatives Issue For tool owners Sign in

Semantic search

Semantic search finds documents by meaning rather than keyword match, using embedding similarity in a vector space.

In more detail

What it means

Traditional keyword search (BM25, TF-IDF) matches strings. Semantic search embeds the query and corpus into vectors and ranks documents by cosine similarity. The result: queries like 'how do I cancel my plan' match documents about 'subscription termination' even with no shared words. Production stacks in 2026 almost always use hybrid search — semantic plus keyword — and re-rank the top-K with a separate model, because pure semantic search misses exact-match terms (product SKUs, error codes). In production, chunk documents into self-contained passages, normalise embeddings before indexing, and evaluate recall on realistic queries, because oversized chunks dilute the signal and unnormalised vectors distort cosine ranking.

Part 1 of 2

When to use it, and when not

Use it for

  • Search over long-form content.
  • RAG retrieval.
  • Recommendation by similarity.

Part 2 of 2

Common mistakes

  • Skipping hybrid + re-rank — pure semantic search misses exact terms.
  • Re-embedding the whole corpus on every prompt change — only the query side changes.

FAQ

Questions readers ask.

What is semantic search?

Semantic search finds documents by meaning rather than keyword match, using embedding similarity in a vector space.

When should you use semantic search?

Search over long-form content. RAG retrieval. Recommendation by similarity.

What are the common mistakes with semantic search?

Skipping hybrid + re-rank — pure semantic search misses exact terms. Re-embedding the whole corpus on every prompt change — only the query side changes.

Last updated: 2026-09-18. Raw markdown: https://promtable.com/glossary/semantic-search.md. Found a mistake? Tell us.