Research Careers Contact

GlossarySemantic search

Semantic search

Semantic search finds documents by meaning instead of by matching exact words. A query for "how hot can this part run" returns passages about maximum junction temperature, even when they share no words with the question.

How it works

Semantic search uses embeddings. A model converts each document passage and each query into a vector, and passages whose vectors sit close to the query vector are returned. Sentence embedding models trained to place similar sentences near each other made this practical for general text. Dense retrieval models trained on question and answer pairs showed that learned embeddings outperform keyword matching for finding answer passages.

The vectors are stored in a vector database with an approximate nearest neighbor index, so search stays fast across large collections. A second stage often reranks the top results with a more precise model that reads the query and each passage together. Late-interaction models sit between the two, comparing query and passage at the level of individual tokens while keeping search fast.

Why it matters

Engineers rarely know the exact words a document uses. Keyword search fails them when the datasheet says "absolute maximum ratings" and they asked about limits. Semantic search closes that gap and is the usual retrieval step in retrieval-augmented generation, where it decides which facts a model sees.

How to get it right

  • Use hybrid search for content with identifiers, such as part numbers and standard names.
  • Split documents into passages that each cover one idea.
  • Rerank the top results when precision matters.
  • Store metadata, such as revision and document type, and filter on it.
  • Test with real queries from the people who will use the search.
  • Show the source passage with every result.

Semantic search in robotics and drone hardware

A robot or drone program accumulates datasheets, test logs, failure reports and design notes across many part revisions. Semantic search lets an engineer ask how a past build handled a vibration failure or which IMU had a startup issue, and find the report even when it uses different terms. Filtering by product and revision keeps results relevant to the hardware at hand. In a high-mix shop the same questions come up at quote time and at build time, such as whether a footprint caused tombstoning on an earlier board. Search over past DFM feedback, first article reports and rework notes finds the answer before the next lot starts.

Learn more