Glossary · data

Hybrid search

A retrieval method that combines keyword matching with embedding search, so exact names, codes and numbers are found alongside passages of similar meaning.

Hybrid search runs two kinds of search over the same collection and combines the results. Keyword search finds exact matches: a product code, a clause number, a person's name. Embedding search finds passages with similar meaning even when the words differ. Each method misses things the other finds, so the combination is more reliable for most enterprise collections.

The two result lists must be merged into one ranking. How they are merged affects the answer as much as either search does.

In practice

I start with hybrid search for almost every enterprise collection, because the collections contain both kinds of query: a natural question about a process, and a lookup of an exact reference. I test the merge rule on real queries, and I check the cases where one method alone would have failed. The evaluation set records those cases.

Hybrid search also fits a permission model. Both searches should run under the same access filter, so that a user never sees a result that keyword search would have shown and embedding search would have hidden.

Example

[Composite] An engineering assistant returned the right design for natural questions, but missed a lookup of a component part number. Keyword search found the part number at once. Once the two result lists were merged, both kinds of question were answered from the same index.

Common mistakes

  • Running the two searches under different access filters, which leaks results.
  • Merging the lists without testing the rule on real queries.
  • Using embedding search alone for exact identifiers.

Related terms

Cite this definition

Hybrid search. Mayur Patil, mayurpatil.ai, updated 2026-11-02. https://mayurpatil.ai/glossary/hybrid-search/

Enquiry

Tell me about the work

The use case, where it is blocked and who is involved. I reply with a suggested starting point. Or email hello@mayurpatil.ai.

Goes to my CRM and my inbox. No newsletter, no sharing. See Privacy (opens in a new tab).

Close