Skip to content
Ask Sera Search
Ask SeraAnswers from our guides, research and news Search
Learn
Guides
Research
Sectors
Platforms
News
Tools
About

What is hybrid search?

Hybrid search runs a keyword query and a vector query at the same time and merges the two ranked lists, often with reciprocal rank fusion.

In short. Hybrid search is search that runs a keyword query and a vector query together and merges the two result lists into one. The keyword side finds exact terms such as product codes, and the vector side finds text with the same meaning in different wording. Azure AI Search and OpenAI's file search merge the two lists with reciprocal rank fusion.

On this page 6 sections

The evidence

  • Confirmed:

    In Azure AI Search, a hybrid query is one request that runs full-text search and vector search in parallel. Reciprocal Rank Fusion merges the results into one list.1Microsoft Learn. Checked Dec 1, 2026

  • Confirmed:

    Microsoft says queries over product codes, specialized jargon, dates and people's names perform better with keyword search, because it can identify exact matches.1Microsoft Learn. Checked Dec 1, 2026

  • Tested:

    In Anthropic's tests, combining contextual embeddings with contextual BM25 keyword retrieval cut the top-20 retrieval failure rate by 49%, from 5.7% to 2.9%. Contextual embeddings alone cut it by 35%.3Anthropic, Sep 19, 2024

  • Confirmed:

    OpenAI's file search lets developers set an embedding weight and a text weight to balance semantic and keyword matches in its reciprocal rank fusion.2OpenAI API documentation. Checked Dec 1, 2026

Confirmed by the platformTested

Hybrid search is the usual way AI retrieval systems combine word matching with meaning matching. One query goes to two indexes, and one merged list comes back.

#How does hybrid search work?

A hybrid query runs a keyword search and a vector search on the same content and merges the results. Microsoft's overview of hybrid search in Azure AI Search describes three parts:1

  • One request carries both a text query and a vector query.
  • Full-text search, ranked with BM25, and vector search, ranked with a nearest-neighbor algorithm, run in parallel.
  • Reciprocal rank fusion merges the two ranked lists, and the response holds one result set.

The merge uses ranks because the raw scores do not compare. Microsoft's page on hybrid search scoring says a BM25 score has no upper limit, while a vector score with cosine similarity falls between 0.333 and 1.00. Semantic ranking, if it is turned on, runs after the merge.4

Each side finds matches that the other misses. Microsoft says vector search finds conceptually similar information even when no keyword matches exist in the inverted index. Keyword search gives precision, and it does better on product codes, specialized jargon, dates and people's names because it finds exact matches.1

Anthropic's post on Contextual Retrieval gives an example. For the query "Error code TS-999", an embedding model might find content about error codes in general but miss the exact code. BM25 looks for the exact string.3

Retrieval-augmented generation (RAG) systems often run hybrid search to choose the chunks a model reads. Anthropic describes the steps. BM25 finds the top chunks by exact matches, and embeddings find the top chunks by meaning. Rank fusion combines the two lists and removes duplicates, and the top chunks go into the prompt. In Anthropic's tests, contextual embeddings plus contextual BM25 cut the top-20 retrieval failure rate by 49%, from 5.7% to 2.9%.3

OpenAI's retrieval guide exposes the balance as settings. A developer can raise the embedding weight to favor semantic matches or the text weight to favor keyword overlap. At least one weight must be above zero.2

For a web page, hybrid retrieval means both its wording and its meaning count. Exact names, model numbers and terms give the keyword side something to match. What is semantic search? compares the two methods in more depth, and a reranker can reorder the merged list afterward.

Read next

Related terms

Questions

Is hybrid search better than vector search?

For many queries it is. Microsoft says hybrid search combines the strengths of both, and Anthropic found that embeddings plus BM25 retrieved better than embeddings alone. Microsoft says queries with product codes and names do better with keyword search.

How are the keyword and vector results merged?

Most systems use reciprocal rank fusion. It scores each document by its rank in each list, not by its raw score, because BM25 scores and vector similarity scores are on different scales.

Does hybrid search use a reranker?

In Azure AI Search, semantic ranking can run after the RRF merge to reorder the merged results. Anthropic added a reranking step after hybrid retrieval in its tests.

About this page

Researched and reviewed by Promptly Found. Reviewed Dec 1, 2026. Next review due Mar 2027.

Notes

  1. 1
    Hybrid search using vectors and full-text search in Azure AI SearchMicrosoft Learn · Checked Dec 1, 2026 · Primary source
  2. 2
    RetrievalOpenAI API documentation · Checked Dec 1, 2026 · Primary source
  3. 3
    Introducing Contextual RetrievalAnthropic · Sep 19, 2024 · Checked Dec 1, 2026 · Primary source
  4. 4
    Relevance scoring in hybrid search using Reciprocal Rank Fusion (RRF)Microsoft Learn · Checked Dec 1, 2026 · Primary source
Cite this page
Citation style

Promptly Found. (2026, December 1). What is hybrid search? https://promptlyfound.com/glossary/hybrid-search

Revisions 1
First published.