AI Wisdom

Hybrid Search

Combining vector (semantic) search and keyword (BM25) search for superior retrieval quality.

In this article

Hybrid search runs semantic (embedding similarity) and keyword (BM25/inverted index) retrieval in parallel, then merges results using Reciprocal Rank Fusion (RRF) or weighted combination. It outperforms either method alone: semantic search catches paraphrased and conceptually related matches; keyword search handles exact terms โ€” product codes, names, technical jargon. Most modern vector databases (Weaviate, Qdrant, Elasticsearch, pgvector with tsvector) support hybrid search natively. Hybrid search is the recommended retrieval strategy for production RAG systems.

What it means in practice

Hybrid Search is not just vocabulary; it is a design handle. In AI engineering, this term usually appears when engineers are designing, reviewing, or troubleshooting real production flows rather than only naming the concept. It is most useful when search quality, context selection, recall, latency, and answer grounding need to be measured together.

Why engineers care

  • It gives teams a shared name for the behaviour, risk, or architecture choice being discussed.
  • It helps separate the goal from the implementation detail, so you can compare alternatives instead of copying a tool pattern blindly.
  • It creates a useful checklist for reviews: inputs, outputs, failure modes, ownership, cost, latency, and measurement.

Production watch-outs

Do not judge it by demo relevance alone. Track recall, precision, source freshness, chunk quality, failure cases, and the cost of retrieval plus generation.

Related context

Useful neighbouring concepts: Semantic Search, Bm25, RAG, RRF, Reranking.

Discussion

Sign in to share your feedback and join the discussion.