What this is about
A search has two jobs. First, find a handful of notes that might answer your question. Second, put the best one on top. A fast search does the first job well and the second job only so-so.
A reranker is a second program that does the second job. It is slower, so it only looks at the few candidates the fast search found. This article explains what it does, with a picture and our own numbers.
Why it matters
When an AI agent searches your notes, it usually reads the first few results and goes on. If the right note sits sixth, the agent never sees it. So order matters as much as finding.
A reranker is one of the standard tools for fixing order. It is also easy to oversell. We tested ours and the honest result is small. Knowing how to read a result like that is a useful skill on its own.
How it works
The library picture
Imagine a large library and a helpful assistant.
First, the assistant runs through the shelves quickly. For each book, she judges by the title and the cover whether it might fit your question. She pulls twenty books. That is the fast search.
Then she sits down and reads the first page of each of the twenty, with your question in mind. She now puts the five most fitting on your table, best first. That is the reranker.
The fast search was cheap and a bit rough. The reranking is slower and more careful. You use the slow one only on the short list.
What the reranker really sees
The fast search turns your question and each note into numbers, separately, then compares the numbers. It never reads the question and the note together.
A reranker does read them together. It takes the question and one candidate note as a single input and gives a score for how well they fit. It does this for each candidate, then sorts by score.
Ours is a small model named ms-marco-MiniLM-L-6-v2, which we run in Mojo.
Where it sits in our search
In our search tool the order is: keyword and meaning search find 20 seeds, the network spreads signal along links, and the reranker reads the candidates and picks the final five. The article "How a search finds the right note" walks through the first two steps.
What ours won and lost
We measure with a frozen set of 88 questions: 29 asked with the note's own words, 29 paraphrased, and 30 held-out. A question is a hit when the target note is among the five shown.
| run | verbatim | paraphrase | held-out | median ms |
|---|---|---|---|---|
| with reranker | 29/29 | 23/29 | 22/30 | 574 |
| reranker off | 29/29 | 22/29 | 19/30 | 352 |
On the held-out set the reranker gained three questions. It costs about 220 ms more per answer. On 2026-11-19 the rerank step itself measured 209 ms at the median over 440 runs.
Paired by question
The fair comparison is by question, because both runs see the same candidates. On the held-out set the reranker helped three questions and hurt none. On the paraphrase set it helped two and hurt one. The sign test on 3 to 0 gives p = 0.25, which is far from the usual bar for calling a result real.
Why three wins is small
Each question is worth 3.3 points of the score. A 95 percent confidence range around 22 of 30 runs from 56 to 86 percent. Around 19 of 30 it runs from 46 to 78 percent. The two ranges overlap almost entirely. In plain words: with only 30 questions, we cannot tell this from luck.
So we do not say "the reranker works." We say: it did not lose, it might win a little, and it costs time. That is a smaller claim, and it is the true one.
What the reranker cannot do
An early check showed another limit. Out of 15 misses, 13 never reached the candidate list at all, and only 2 were lost in the reranking. A reranker can only reorder what it is given. If the right note is not among the twenty, it never sees it. In one run, widening the candidate list to depth 20 gave 24 of 30 held-out, which suggests the list is the bigger lever. Its timing is not yet in our results file, so we do not claim it as a win.
How to read a reranker claim
When someone tells you a reranker improved search, ask:
- Improved what? Which questions, how many, and did they include held-out ones?
- By how much, and with what range? Three wins out of thirty is not forty wins out of four hundred.
- At what cost? Our 220 ms is a real delay.
- Is the right note even in the list? If not, nothing downstream can help.
Glossary
- Reranker: a program that rereads top results with the question and reorders them.
- Candidate: a note that the first search offers for reranking.
- Held-out: test questions not used while tuning.
- Paired test: comparing two methods on the same questions, one by one.
- Sign test: a simple test that counts wins against losses.
- Median: the middle value of a list of times.
- Confidence range: the span of values a result could plausibly come from, given a small sample.
Try it
- Read the full result. Our blog has "The Reranker Won Three Questions and Lost None," with the tables and the repeats.
- Be your own reranker. Search for any topic. Take the first ten results and read the first lines of each. Which one would you put first? Compare with where the search put it.
- Count your lists. On your next search, note whether the right answer was in the top five, the top twenty or neither.

Commentaires
Pas encore de commentaires.
Se connecter pour commenter.