What is reranking in search and RAG?
Reranking reorders the top results of a first search with a more precise model. In Anthropic's tests, it helped cut retrieval failures by 67%.
In short. Reranking is a second retrieval step that puts the first results in a new order with a more precise model. A fast first search returns a list of candidates, and a slower model scores each candidate against the query. A reranker can only reorder what the first search found, so a page has to reach the candidate list before reranking can help it.
On this page 6 sections
The evidence
Microsoft's semantic ranker in Azure AI Search reranks only the top 50 results of the first search. Microsoft says it cannot rerun the query over the entire index.1
1Microsoft LearnMicrosoft Learn. Checked Nov 20, 2026.Microsoft says the semantic ranker uses multilingual deep learning models adapted from Microsoft Bing.1
1Microsoft LearnMicrosoft Learn. Checked Nov 20, 2026.A reranker decides which retrieved passages a language model reads, and it can only reorder what the first search found. In Anthropic's tests, adding reranking to its contextual retrieval method cut the share of relevant chunks missing from the top 20 from 5.7% to 1.9%.
Reranking is a second step in a search system. The first step searches the whole index quickly and returns a list of candidates. The second step scores each candidate again with a slower, more precise model and puts the list in a new order.
#How reranking works
Anthropic's post on Contextual Retrieval lists the steps. The system retrieves the top candidate chunks (Anthropic used 150), passes each one with the user's query through a reranking model, scores each chunk for relevance, and keeps the top results (Anthropic kept 20). Only those reach the language model. Anthropic says reranking adds latency because it is an extra step at run time.2
Microsoft's documentation of semantic ranking in Azure AI Search describes the same design. The first ranking comes from BM25 keyword scoring or from Reciprocal Rank Fusion over a hybrid search. The semantic ranker then rescores the top 50 results with multilingual deep learning models adapted from Microsoft Bing. Each result gets a score from 4 (highly relevant) to 0 (irrelevant).1
Developer tools expose the same step. OpenAI's retrieval guide lets file search set a ranker and a score_threshold, and a higher threshold limits results to more relevant chunks.4
The approach has a research record. Passage re-ranking with BERT, published in January 2019, used BERT to rerank passages for a query. It took the top place on the MS MARCO passage retrieval leaderboard, 27% better (relative) in MRR@10 than the previous best system.3
#Reranking in AI search
Retrieval-augmented generation passes only a few retrieved passages to the model, so the reranker decides which candidates the model reads. In Anthropic's tests, adding reranking to contextual embeddings and contextual BM25 cut the share of relevant chunks missing from the top 20 from 5.7% to 1.9%, a 67% reduction.2 What is retrieval-augmented generation (RAG)? covers the full pipeline.
AI search products publish less detail. Google's guide to generative AI features says they rely on its core Search ranking systems to retrieve pages from its index, and does not describe a separate reranking step.5 Microsoft says the technology in its semantic ranker comes from Bing.1
#What it means for a page
Microsoft says its semantic ranker cannot find results outside the initial set.1 So a page has to be retrieved by the first search, through its keywords or its meaning, before a reranker can move it up. What is semantic search? explains how the first search matches pages.
Microsoft also says the semantic ranker works best on content that is information-rich and written as prose, and that it extracts captions and answers verbatim. If the results contain no answer-like text, it produces no answer.1 How to write content that AI search can cite covers how to write passages that answer a question directly.
Read next
AI search
What is retrieval-augmented generation (RAG)?
RAG retrieves documents at query time and gives them to a language model to write a cited answer. How ChatGPT, Claude, Google, Bing and Perplexity use it.
AI search
What is semantic search and how does it differ from keyword search?
Semantic search matches the meaning of a query, often with vector embeddings. Keyword search matches its words. Hybrid search runs both and merges the results.
AI search
How does AI search choose which sources to cite?
AI search retrieves pages from an index, reads passages and cites what it used. What OpenAI, Anthropic, Google, Microsoft and Perplexity document.
GEO
How to write content that AI search can cite
Eight steps for writing pages that AI search can cite, each graded by its evidence. Only adding sources and statistics has been tested, in a lab study.
Questions
What is the difference between retrieval and reranking?
Retrieval searches the whole index quickly and returns a list of candidates, with keyword search, vector search or both. Reranking takes that short list and scores each candidate again with a slower, more precise model. The final order comes from the reranker.
Does reranking make search slower?
Yes. Anthropic says reranking adds an extra step at run time and so adds some latency, even though the reranker scores chunks in parallel. Reranking more candidates improves results but costs more time and money.
Can reranking find pages that the first search missed?
No. Microsoft's documentation for Azure AI Search says its semantic ranker reranks the existing result set, the top 50 results, and cannot rerun the query over the whole index. A page has to be in the first list to be reranked.
Notes
- 1
- 2
- 3
- 4
- 5
About this page
Researched and reviewed by Promptly Found. Reviewed Nov 20, 2026. Next review due Feb 2027.
Cite this page
Promptly Found. (2026, November 20). What is reranking in search and RAG? https://promptlyfound.com/glossary/reranking
Revisions 1
- First published.