Home / Glossary / AI and machine learning

AI and machine learning

Reranking

In shortReranking is a second pass in a search pipeline. A fast first step pulls a larger set of candidate results, then a slower and more careful model reorders them by how well each one answers the query. It improves the order of results and is common in site search and in the retrieval step that feeds AI answers.

By Aditya Aman, working in SEO for almost a decade and hands-on with AEO and GEO as those fields have developed. Updated 25 November 2026.

  • What it isReordering retrieved candidates with a more precise model.
  • Position in pipelineAfter retrieval, before the final answer or results list.
  • Trade-offBetter ordering, but extra time and compute.
  • Often used withHybrid search and RAG.
  • Common mistakeExpecting it to fix content that is not in the candidate set.

What is reranking?

Retrieval has to be fast, because it searches a very large collection. That speed comes at some cost to precision. Reranking adds a second step: the system takes the top candidates, perhaps dozens, and scores each one against the query with a model that reads both together.

Because the reranker only handles a short list, it can afford to be more careful. The result is a better final order and, in AI answers, better passages passed to the language model.

Where does reranking fit in the pipeline?

A typical flow has stages. The table shows a simplified view. Real products differ and often do not publish every stage, so treat this as a model for thinking, not a description of any specific engine.

StageJobSpeed
RetrievalPull a few dozen to hundreds of candidatesFast
RerankingReorder candidates by relevance to the querySlower, on a short list
Answer or displayShow the list or write an answer from top passagesDepends

What does reranking mean for your content?

Two things have to happen. First, your page must be retrieved at all, which depends on crawl access, wording and topic match. Second, it must look like a good answer when read closely against the question. A reranker reads the passage with the query, so vague or padded text loses to a passage that answers directly.

That points to a clear writing habit: state the answer, then support it. Put the direct answer near the start of the section and keep each section on one question.

How do you test reranking on your own search?

If you run site search or an internal AI assistant, compare results with and without the reranker.

  1. Build a query setUse real queries with a known best page for each.
  2. Record the baselineNote where the best page ranks before reranking.
  3. Turn on rerankingRun the same queries and compare positions.
  4. Check the costMeasure added delay and compute, and decide if the gain is worth it.

What are common reranking mistakes?

A reranker cannot promote a page the first stage never retrieved. If your answer is missing from the candidates, fix retrieval first. Another mistake is judging on a few easy queries. Test with hard, ambiguous and misspelled ones, where the first stage is most likely to be noisy.

Need help with Reranking on your site?

Tell us what is not working. We will check where this affects your search results and what to fix first.

Book a meetingAEO services

Questions people ask

Is reranking the same as ranking?

Not quite. Ranking is the overall ordering of results. Reranking is a specific later step that reorders an already retrieved shortlist with a more precise model. Many systems use both.

Can I influence a reranker?

Only indirectly. You cannot configure a search engine's reranker. You can write passages that answer a question clearly, so they look relevant when read against it.

Why do AI answers use reranking?

The language model can only take in a limited amount of text. Reranking helps choose the best passages to include, so the answer is built from the most relevant material.

Inspect the original evidence