Hybrid Search
A retrieval approach that combines keyword search and vector search, merging the results of both to compensate for the respective shortcomings of literal matching and semantic matching. It is generally more robust than either approach alone.
Core Facts
Hybrid Search combines the results of vector retrieval and BM25 keyword retrieval through algorithms such as RRF (Reciprocal Rank Fusion), balancing semantic understanding with exact matching.
Hybrid retrieval typically merges results from two retrieval pipelines using a weighted combination via the RRF (Reciprocal Rank Fusion) algorithm.
Hybrid search runs dense vector search and classic keyword search (BM25) simultaneously, and typically uses Reciprocal Rank Fusion to merge the results, with the fusion formula summing 1 / (k + rank) over each document's rank in each list.
Timeline (last 90 days)
Row-Bot's retrieval stage uses hybrid search, combining semantic similarity (dense vector retrieval) and keyword matching (such as BM25 sparse retrieval), and then scores candidate memories through a ranking model.
The second episode of the series will show how to make the application intelligent with vector, full-text, and hybrid search, with the goal of finding the truly right hotel in Barcelona on real-time operational data, not just a similar one.
At the end, the course points out the known limitations of the current hybrid search approach: spelling tolerance is not included in the scheme; expanding semantic coverage can only be done by increasing the number of embedded articles; long articles need to be split into small chunks and then embedded to reach content beyond the beginning; a re-ranker can be introduced to re-rank the top results.
Hybrid search runs dense vector search and classic keyword search (BM25) simultaneously, and typically uses Reciprocal Rank Fusion to merge the results, with the fusion formula summing 1 / (k + rank) over each document's rank in each list.
Hybrid search plus reranking is the upgrade every team pursuing better RAG should prioritize, rather than chasing fancier agent architectures.
When the evaluation set shows that vocabulary-mismatch errors dominate, hybrid search (keyword plus vector) has sufficient justification, and the benefit can be quantified.
All Facts (8)
Hybrid Search combines the results of vector retrieval and BM25 keyword retrieval through algorithms such as RRF (Reciprocal Rank Fusion), balancing semantic understanding with exact matching.
90%VerifiedHybrid retrieval typically merges results from two retrieval pipelines using a weighted combination via the RRF (Reciprocal Rank Fusion) algorithm.
80%VerifiedHybrid search runs dense vector search and classic keyword search (BM25) simultaneously, and typically uses Reciprocal Rank Fusion to merge the results, with the fusion formula summing 1 / (k + rank) over each document's rank in each list.
75%Verified关键词搜索基于精确字符匹配无法理解同义词,语义搜索依赖向量嵌入可捕捉语义关联,两者结合的混合检索效果优于单一方法
65%UnverifiedRow-Bot's retrieval stage uses hybrid search, combining semantic similarity (dense vector retrieval) and keyword matching (such as BM25 sparse retrieval), and then scores candidate memories through a ranking model.
50%UnverifiedAt the end, the course points out the known limitations of the current hybrid search approach: spelling tolerance is not included in the scheme; expanding semantic coverage can only be done by increasing the number of embedded articles; long articles need to be split into small chunks and then embedded to reach content beyond the beginning; a re-ranker can be introduced to re-rank the top results.
50%UnverifiedHybrid search plus reranking is the upgrade every team pursuing better RAG should prioritize, rather than chasing fancier agent architectures.
50%UnverifiedWhen the evaluation set shows that vocabulary-mismatch errors dominate, hybrid search (keyword plus vector) has sufficient justification, and the benefit can be quantified.
50%