BuildSpark AI

Map · Retrieval & Grounding · 04 · Hybrid search

Concept card · Retrieval & Grounding

Hybrid search

Hybrid search combines word matching and embedding search so an exact term and a paraphrase can both hit.

Combining word matching and embedding search so exact terms and paraphrases can both hit.

Last checked 2026-10-18 Free card 4 min

Ask about Hybrid search

What changed

Oct 18: First card. The picture shows which of three chunks a keyword search, an embedding search, and both would keep. Reranking is the next card. Sources are Azure AI Search's hybrid search overview and Elasticsearch's retrievers reference.

1 What it is

Hybrid search runs a word match and an embedding search, then merges the two lists. Azure AI Search's hybrid search overview says a hybrid query is one request configured for both full-text and vector queries. It runs those searches in parallel and merges them with reciprocal rank fusion (RRF). The same page says full-text ranking uses BM25, and vector ranking uses a nearest-neighbor search over embeddings. Keyword search can hit an exact term, such as a product code, a date, or a name. Vector search can hit text that is conceptually similar even when the words do not match. Elasticsearch's retrievers reference describes an RRF retriever that produces the top documents from reciprocal rank fusion, and a linear retriever that combines lexical fields and semantic fields.

Illustration. It simplifies hybrid search to three fixed chunks and a shared question. The hits are written for this picture. They are not a live index.

Question: When does the warehouse close?

Hit · keywordThe warehouse closes at 18:00.

MissThe north building shuts in the evening.

MissParking is free on Sunday.

Keyword match hits the chunk that says closes. The paraphrase says shuts, so this picture leaves it out.

2 Why it matters

Cost

Azure's hybrid search overview describes one request that runs full-text search and vector search in parallel. This card does not add a price for that request. If you add semantic ranking on top, Azure's semantic ranking overview says that feature is billed by usage. The reranking card covers that second pass.

Quality

Azure's overview says keyword search is precise on exact terms such as product codes, dates, and names, and vector search can find conceptually similar text when the words do not match. A merge can keep a hit that either method alone would have dropped. This card does not claim the merge is always better.

Risk

A merged list can still put the wrong chunk first. The chunks that enter the prompt are still untrusted text. Hybrid search does not check that a chunk is true, or that this user may see it.

3 How to apply · try today

Take one query that uses an exact name, and one that paraphrases the same fact. Run a keyword search and an embedding search. Note which query each method misses.

Common mistake

Treating embedding search as a replacement for word matching. Azure's overview says some queries, such as product codes and people's names, perform better with keyword search because it can identify exact matches.

Self-check

A query is the product code NX-14. Which search is built to hit that exact string?

Questions

What is hybrid search?
Hybrid search combines word matching and embedding search so an exact term and a paraphrase can both hit.
Does hybrid search replace keyword search?
No. Azure's overview says it runs full-text search and vector search in parallel, then merges them.
Does the merge check that a chunk is true?
No. It only changes which chunks come back, and in what order. A chunk can still be wrong.