Skip to content
mentoor

Hybrid search and reranking

For engineers

Combining keyword and vector search, reranking candidates with a second model and enriching chunks with context to raise retrieval quality

See where you stand

110 questions across four stages: Understand, Apply, Solve and Judge.

Try 5 questions

Practice items, not counted towards your mastery. No account needed.

Check yourself · 1 of 5

A user searches a support wiki for ERR_CERT_9921. Which retriever is most likely to find the exact page?

Choose one answer

Check yourself · 2 of 5

Why is a cross-encoder reranker run on 50 candidates and not on every chunk in the index?

Choose one answer

Check yourself · 3 of 5

What does contextual retrieval add to each chunk before it is embedded?

Choose one answer

Check yourself · 4 of 5

What makes a comparison of retrieval variants fair?

Choose one answer

Check yourself · 5 of 5

What does a late-interaction retriever such as ColBERT store for each chunk?

Choose one answer

Topics

  1. Combining BM25 keyword and vector search4 min read · Why exact terms such as error codes, names and SKUs need keyword search, and fusing ranked lists with reciprocal rank fusion
  2. Second-stage rerankers and cross-encoders4 min read · Retrieving wide then reranking narrow with cross-encoders, hosted rerank APIs or an LLM, and the latency and cost this adds
  3. Contextual retrieval: situating each chunk4 min read · Prepending a short model-written summary of where a chunk sits in its document before embedding and indexing, using prompt caching to keep cost down
  4. Measuring what each retrieval upgrade buys4 min read · Comparing baseline, hybrid, reranked and contextual variants on the same query set before paying for added complexity
  5. Late interaction and multi-vector retrieval4 min read · ColBERT-style token-level matching as a middle ground between single vectors and cross-encoders, and its storage cost

Start here

Helps to know first

110 questions · last verified 2026-12