Ryz Labs/Glossary/Reranking
Glossary

What is reranking in search and RAG?

Reranking is a second retrieval step that takes the top results from a fast search and reorders them with a more accurate model, so the most relevant passages reach the user or the language model first.

Definition: Reranking is a second retrieval step that takes the top results from a fast search and reorders them with a more accurate model, so the most relevant passages reach the user or the language model first.

How reranking works

A first-stage retriever, such as vector search, keyword search or a hybrid of both, quickly returns a few dozen candidates. A reranker, often a cross-encoder model that reads the query and each passage together, scores every candidate for relevance. The system keeps the top few for the final answer.

Why it matters

First-stage search is tuned for speed and recall, so relevant passages can land lower in the list. In RAG, putting the right passages first means the model sees better context and the prompt stays shorter. Rerankers add latency, so teams limit how many candidates they score.

How teams use it

Teams add a hosted or open-weight reranker on top of semantic search, then measure the gain with labeled test queries before and after the change, tracking metrics such as recall and mean reciprocal rank.

How Ryz helps

Ryz RAG engineers tune retrieval and reranking in your cloud, working on your team and reporting to your leads.

Related

Thanks — your message has been sent. We’ll get back to you soon.

Something went wrong while sending your message. Please try again or email info@ryzlabs.com.

Ryz Labs

Senior engineers on your team. AI pod teams that ship.

Tell us what you're building. You get a scoped plan, a price and the names of the people who would do the work.

  • Only the top 1% of tens of thousands interviewed make it
  • On US business hours, including New York hours
  • Trusted by Fortune 500 engineering teams

Tell us who you need

A Ryz partner replies with a scoped team plan.

Start a conversation →

Prefer to talk? Book a 15-min call →