# Hybrid Search

- **Canonical URL:** https://getaimath.com/dictionary/hybrid-search/
- **Topics:** [Context, Memory & Retrieval](https://getaimath.com/dictionary/category/context-memory-and-retrieval/), [Retrieval-Augmented Generation (RAG)](https://getaimath.com/dictionary/category/retrieval-augmented-generation-rag/)
- **Also called:** Hybrid Retrieval
- **Last updated:** 2026-11-25

## What is Hybrid Search?

**In one sentence:** Hybrid search combines keyword search and semantic vector search to get better results than either alone.

Keyword search is great for exact terms, like product codes or names. Semantic search is great for meaning. Hybrid search runs both and merges the results.

![Context Window vs. Memory: Your Desk vs. The Filing Cabinet — Simple cartoon comparing the AI Context Window (a small desk that can only fit a few pages right now) with External Memory & Search (a big filing cabinet where a librarian grabs just the 3 pages you need).](https://getaimath.com/diagrams/context-memory-and-retrieval.png)
*Napkin Diagram (Context, Memory & Retrieval): The context window is the small desk the AI can see right now; search grabs the right pages from the filing cabinet.*

## What is an example of Hybrid Search?

Searching "error E-404 printer not working" benefits from keywords for "E-404" and meaning for "not working."

## Why does Hybrid Search matter?

Hybrid search is a common best practice for reliable retrieval.

## Related Concepts

- [Relevance Score](https://getaimath.com/dictionary/relevance-score/): A relevance score is a number showing how well a result matches a search query.
- [Sparse Retrieval](https://getaimath.com/dictionary/sparse-retrieval/): Sparse retrieval finds documents by matching words, using long lists that are mostly zeros except for the words present.
- [Query Expansion](https://getaimath.com/dictionary/query-expansion/): Query expansion adds related words or alternative phrasings to a search query to find more relevant results.
- [Reranking](https://getaimath.com/dictionary/reranking/): Reranking reorders search results with a more careful model so the most relevant ones end up on top.
- [Dense Retrieval](https://getaimath.com/dictionary/dense-retrieval/): Dense retrieval finds documents by comparing embeddings, where every number in the vector has a value.
- [Query Transformation](https://getaimath.com/dictionary/query-transformation/): Query transformation is rewriting a user's question to make it easier to search for.

---
Source: The AI Math Dictionary (https://getaimath.com/dictionary/hybrid-search/)
