Skip to content
AI & Machine Learning

Semantic Search

Definition

Semantic search finds results by meaning rather than by matching the exact words typed, usually by comparing embeddings of the query and the content. A search for "locked out of my account" can find an article titled "Reset your password".

Diagram

Search: I’m locked out and can’t sign in

Keyword search

matches the words “locked”, “sign in”

  • Account locked after failed attempts helpful
  • Lock screen settings for the app not what they meant

Semantic search

matches what the person means

  • Reset your password helpful
  • Two-step verification codes helpful
  • Account locked after failed attempts helpful
Keyword search finds pages that share words, including the wrong “lock”, and misses the password article because it uses different words. Semantic search compares meanings. Many products combine both, because keywords are still best for exact things like error codes and product names.

Case study

Worked example