AI GLOSSARY · AI CONCEPTS

Semantic search

Markdown version

Definition

Semantic search aims to retrieve information relevant to a query's meaning rather than relying solely on matching word forms. Vector representations and learned ranking models are common implementations; the highest-ranked result can still be irrelevant or wrong.

Also called: meaning-based search.

In plain language

A semantic-search system might find a page called Refund policy for a question about getting money back. This is an example of the intended behavior, not a promise about a particular query. Learned representations or ranking models can help connect different wording. Check the results themselves: a passage can be on topic without answering the question. Lexical matching, synonyms and semantic ranking can also be combined.

Technical definition

Single-vector dense retrieval encodes a query and each indexed item into vectors and ranks candidates using a similarity measure. It is one implementation, not a definition of every semantic-search system. ColBERT instead uses contextualized token representations with late interaction between query and document representations. Learned rerankers can score candidates after retrieval. Lexical and vector methods can complement one another, and neither a similarity score nor a top rank guarantees relevance.

Worked examples in this catalogue

Catalogue examples point at a skill, guide or coding tool listed on this site, with what to run and what you see. An example marked illustrative describes the item from its own documentation; it was not executed for this page. Platform Scores are our assessment under a published method, not a safety guarantee.

  1. Skill by Skill Almanac · Illustrative, not executed

    rag-chunking-planner 56/100 · Provisional, not yet measuredScored · Method v0.2 · How we score

    What you see
    Your documents split by three chunking strategies, with defects and offline recall reported for each, so chunk settings are chosen with numbers.
    Why it exercises the concept
    Semantic search ranks the pieces you give it. How a document is cut into pieces decides what can be found, and the skill measures that step before you build the rest.
  2. Skill by Skill Almanac · Illustrative, not executed

    library-docs-lookup 52/100 · Provisional, not yet measuredScored · Method v0.2 · How we score

    What you see
    An answer to a library question drawn from the installed package's own files, with file and line cited.
    Why it exercises the concept
    It is a contrast case: a coding agent can ground an answer in installed files rather than meaning-based search. Those files can still be stale, incomplete or wrong.
  3. Guide · Illustrative, not executed

    Context7 MCP: Feed Current Library Docs to an Agent

    What you see
    A hosted MCP server set up in Claude Code that takes a library name and a question and returns documentation, with a check that the agent's answer traces back to the docs it fetched.
    Why it exercises the concept
    It shows retrieval by question for a coding agent. The guide does not say how that server ranks its results, so treat it as retrieval by query rather than proof of a vector method.

How it shows up when you use agents

An application can use semantic retrieval to select passages for a model, or it can simply display search results without generating an answer. An agent may also use exact text search, a lexical index, a learned reranker or a hybrid pipeline. Check the implementation rather than assuming every search box works the same way.

For a document assistant, inspect the top passages for real user questions. Include paraphrases and exact product identifiers. If results miss exact names, lexical retrieval may help; if the wording differs, learned relevance signals may help. Measure the effect on the actual test queries instead of assuming one method always wins.

Common confusions

  • Semantic search versus RAG. Retrieval finds information. RAG also conditions generation on retrieved evidence.
  • Semantic search versus vector storage. A vector database is one component a retrieval system may use, not the entire method.
  • One vector versus all semantic methods. Single-vector retrieval is common, but token-level multi-vector methods such as ColBERT also exist.
  • Relevant-looking versus correct. Read the retrieved evidence and assess whether it supports the user's requested answer.
Show all 31 related terms

Terms that mention Semantic search

18 terms mention this one

More in AI concepts

Next steps

  1. Context7 MCP: Feed Current Library Docs to an Agent The long-form guide.
  2. rag-chunking-planner A skill that exercises it.
  3. Retrieval-augmented generation (RAG) Related term.
  4. Vector database Related term.
  5. All glossary terms A to Z and by family.

Sources

Definitions are written by Skill Almanac from these sources and were checked against them on 2026-11-25. Wikipedia is never the only source.

Review record

Last verified

Drafted by Claude (original draft) and Codex (automated revisions); sources and example targets checked by Independent automated source review (OpenAI Codex); not human peer review on 2026-11-25. Last verified .

Change log (6)
  • : Independent automated factual/example review completed. Cached US query estimate aligned to receipt; no traffic promise. Final technical gate recorded separately; publication disabled.
  • : First version.
  • : Verifier pass: softened vector and index claims, labelled practical note, and removed mismatched Wikidata link.
  • : Scoped entity, retrieval and tool-use explanations; complete exact-version review remains pending.
  • : Required source-scope correction applied; independent affected-claim recheck pending.
  • : Automated review completed; approved for the staged public release. Search indexing is controlled by the release configuration.