Semantic search
Search that uses the meaning and context of a query to retrieve and rank relevant information, not only exact word matches.
Business example
An employee asks about holiday carry-over. Semantic search can retrieve the annual leave policy even when the document uses different wording, while permissions and metadata keep the result within the employee's allowed sources.
How it works
- 1.Understand the query's intent and represent its meaning with language models, embeddings, or both.
- 2.Retrieve an initial candidate set using semantic, keyword, or hybrid matching.
- 3.Apply metadata and permission filters before exposing results to the requester.
- 4.Optionally rewrite the query and rerank the strongest candidates for relevance.
- 5.Return ranked passages or documents that an answer layer can cite and evaluate separately.
Common misconceptions
Related concepts
Related reading
Sources
- https://learn.microsoft.com/en-us/azure/search/semantic-search-overview
- https://docs.cloud.google.com/generative-ai-app-builder/docs/about-generic-search
Reviewed:
Reviewed by: Javier Chulvi Bernad · LLM Engineer · Madrid