Hybrid Search and Reranking
Blend BM25 and vector results, compare keyword, semantic, and fused lanes, then rerank the final few.
The stumper
error 0x80070005 needs exact match; my laptop won’t wake up needs semantic match.
Neither keyword nor vector search wins everywhere. Exact SKUs, error codes, and names favor lexical matching. Paraphrases and intent favor semantic matching.
Hybrid search runs both lanes and combines their results. Fusion can be as simple as a weighted score blend or as robust as Reciprocal Rank Fusion, which works on ranks instead of raw scores.
Reranking adds a second, more expensive judgment on the top candidates. A cross-encoder can read the query and document together, often improving quality at the cost of latency.
Try it before you read on
Open the Lab tab. Change a parameter, break something, and form a hypothesis before reading the explanation.
Checkpoint
3 questions. Explanations appear after submission.
1. Which query is a keyword-search slam dunk?
2. Why is Reciprocal Rank Fusion useful?
3. Why use a reranker only on top candidates?