Glossary
techniques

What is Semantic Search?

Semantic SearchSemantic search is an information retrieval technique that understands the meaning and intent behind a query, rather than matching exact keywords. It uses vector embeddings to find content that is conceptually related to the search query, even when different words are used. This enables searching by meaning — 'how to test APIs' would match content about 'endpoint validation strategies.'

AspectKeyword SearchSemantic Search
MatchingExact wordsMeaning/concepts
"test API" findsPages containing "test" AND "API"Content about API testing, endpoint validation, integration tests
SynonymsMisses themHandles naturally
TyposFailsOften still works
SpeedVery fastFast (with HNSW)

When you call quoth_search_index or quoth_search_patterns, Quoth:

  1. Converts your query into a vector embedding
  2. Searches the HNSW index for nearest neighbors (cosine similarity)
  3. Returns results ranked by relevance score
  4. Optionally filters by project, tags, or confidence threshold

This means you can search your knowledge base by describing what you need in natural language, without knowing the exact terminology used in your documentation.

Related Terms