Back
intermediate
Vector Databases & Embeddings

Hybrid Search Techniques

Combine keyword and vector search for better retrieval across exact terms, synonyms, acronyms, and semantic questions

18 min read· Hybrid Search· BM25· Vector Search· Re-ranking

Hybrid Search Techniques

Hybrid search combines keyword search and vector search.

Vector search understands meaning. Keyword search catches exact names, IDs, acronyms, and rare terms.

Why both matter

Query typeKeywordVector
"ERR_AUTH_042"strongweak
"refund policy"strongstrong
"money back after canceling"weakstrong
"Q4 vendor breach process"strongstrong

Fusion

A hybrid system retrieves from both methods, then merges results.

Common merge approaches:

  • weighted score
  • reciprocal rank fusion
  • reranking merged candidates
  • source diversity limits

Use it for:

  • enterprise docs
  • support search
  • code search
  • legal/policy search
  • product docs with IDs and names

Evaluation

Compare:

  • vector only
  • keyword only
  • hybrid
  • hybrid plus reranking

Use real queries and expected documents.

Knowledge check

Q1: Why is vector search weak for IDs?

IDs may not have semantic meaning even though exact matching matters.

Q2: What does hybrid search merge?

Keyword and dense vector retrieval results.