AI & automation

What is reranking?

Reranking is a second step in AI search: a fast first search returns, say, fifty candidate passages, then a more precise model scores each against the question and reorders them, so only the best few go to the language model.

Why two passes

Vector search is quick because it compares pre-computed numbers, but it judges similarity roughly. A reranker reads the question and each passage together, which is slower and more accurate. Using it only on the shortlist keeps delay small.

Signs you need one

The right answer is in your documents but appears at rank twelve instead of rank two. Or answers cite near-miss passages: the refund policy for a different product, last year's version of a rule. Rerankers are often the cheapest quality gain after fixing the chunking.

Cost and delay

Expect tens to a few hundred milliseconds extra, plus a per-call or hosting cost depending on whether you use a hosted API or run a model yourself. Measure with a fixed question set: is the right passage in the top three more often with the reranker than without? If the gain is small, skip it.

Questions, answered

No. Hybrid search combines keyword and meaning-based retrieval to find candidates; reranking reorders whatever candidates were found.

Yes, but dedicated reranking models are usually faster and cheaper per passage.

By the Stegnor team · Updated