ἵστωρ Download

What is reranking?

Search fast, then sort carefully. The second pass that turns a pile of candidates into a shortlist worth reading.

Reranking is a second pass over search results, where a model reorders the candidates the first pass found. Fast search casts a wide net and ranks roughly; a reranker reads each candidate against your question and sorts by true relevance. The step costs time, so tools apply it to a shortlist, not the whole library. What it buys is precision: the best passages placed in front of the model that writes the answer.

Search fast, sort carefully.

Retrieval over a real library cannot afford to read everything closely, so it runs in two stages. The first, keyword and vector search run together, scans every passage cheaply and returns a broad candidate list, with ordering that is serviceable rather than fine. The second stage takes that shortlist and judges each candidate against the question directly. The division of labor is the point: the wide net guarantees the right passage is probably in the pile, and the reranker decides which pile members deserve the top spots.

What a reranker actually reads.

The first pass compares your question and each document through separate number representations, which is what makes it fast: two short lists of coordinates, compared by distance. A reranker works differently. It reads the question and the candidate together, as one text, and scores how well they answer each other, catching the matches where wording differs but meaning aligns and the near-misses where topics sound alike but the answer is absent. That joint reading is why its judgment is sharper, and why it cannot be run against everything.

Why the order matters.

Only a handful of retrieved passages fit in front of the model that writes the answer, and the token budget decides how many. Reranking decides which handful. A better ordering means the most relevant material lands in the prompt and near-misses stay out, which lifts every grounded answer built on top. It does not, on its own, force faithfulness; the retrieval loop still needs verification of what the answer claims. Reranking improves the evidence the writer sees, and verification checks what the writer did with it.