Skip to content
Ask Sera Search
Ask SeraAnswers from our guides, research and news Search
Learn
Guides
Research
Sectors
Platforms
News
Tools
About

What is reciprocal rank fusion (RRF)?

Reciprocal rank fusion merges ranked result lists by rank instead of score. A document gets 1/(k + rank) in each list, and the sums set the final order.

In short. Reciprocal rank fusion is a method that merges several ranked result lists into one by each document's rank, instead of its score. A document gets 1/(k + rank) from each list it appears in, and the sum sets its final position. The constant k is commonly 60. Azure AI Search, Elasticsearch and OpenAI's file search use it to merge keyword and vector results.

On this page 6 sections

The evidence

  • Confirmed:

    Reciprocal rank fusion was introduced in a two-page poster at SIGIR 2009. Its authors fixed k at 60 in a pilot study and did not change it during later validation.1ACM SIGIR '09, Jul 19, 2009

  • Observed:

    In the paper's TREC experiments, RRF scored higher than Condorcet Fuse in every case and higher than the best individual system in all but one, where the best run had a human in the loop.1ACM SIGIR '09, Jul 19, 2009

  • Confirmed:

    Azure AI Search uses RRF whenever two or more queries run in parallel, such as a full-text query plus a vector query.2Microsoft Learn. Checked Dec 1, 2026

  • Confirmed:

    Elasticsearch's RRF retriever needs two or more child retrievers and sets its rank constant to 60 by default.3Elastic documentation. Checked Dec 1, 2026

Confirmed by the platformObserved in data

Reciprocal rank fusion (RRF) is the step that turns two or more result lists into one. In AI retrieval, it usually merges a keyword list and a vector list in hybrid search.

#How does reciprocal rank fusion work?

RRF gives each document a score from its position in each list. The 2009 SIGIR paper that introduced RRF defines the score of a document as the sum, over all rankings, of 1 / (k + r), where r is the document's rank in that ranking. The documents are then sorted by this score.1

An example with k = 60 shows the effect. A document ranked 1st in the keyword list and 3rd in the vector list scores 1/61 + 1/63, which is about 0.0323. A document ranked 2nd in the keyword list and missing from the vector list scores 1/62, about 0.0161. The document that both lists found comes first.

The Elasticsearch documentation on RRF shows the same formula. Its rank_constant sets k and defaults to 60. Its rank_window_size sets how many results from each list take part.3

#Why does RRF use ranks instead of scores?

Ranks can be compared across systems, and raw scores often cannot. Microsoft's page on RRF scoring in Azure AI Search shows the problem. A BM25 full-text score has no upper limit, while a vector score with cosine similarity falls between 0.333 and 1.00.2 Elastic says RRF requires no tuning, and the relevance signals it combines do not have to be related to each other.3

The paper explains the formula. Highly ranked documents count more, but the weight of lower-ranked documents does not vanish, as it would with an exponential function. The constant k reduces the effect of high rankings from outlier systems.1

RRF merges the results of BM25 and vector search in several retrieval products. Azure AI Search uses it for hybrid queries and for queries with several vector parts. A full-text query plus one vector query counts as two executions. Semantic ranking, if used, runs after the RRF merge.2 A reranker of this kind reorders the fused list with a more precise model.

OpenAI's retrieval guide lets developers tune how its reciprocal rank fusion balances semantic embedding matches against keyword matches, with one weight for each side.4

For a page, RRF rewards appearing in both lists. A passage that uses the exact terms of a query and also answers its meaning can rank in the keyword list and the vector list. What is semantic search? explains the two kinds of search that RRF combines.

Read next

Related terms

Questions

Why is k set to 60 in reciprocal rank fusion?

The 2009 paper chose 60 in a pilot study and found it near-optimal, but not critical. Values from 10 to 100 gave similar results. Elasticsearch and Azure AI Search both use 60 as their default or suggested value.

Is the k in RRF the same as top-k?

No. Microsoft notes that the RRF constant k is separate from the k that sets how many nearest neighbors a vector query returns.

Can RRF weight one list more than another?

Some systems allow it. Azure AI Search lets developers weight vector queries in a hybrid query, and OpenAI's file search has separate weights for its embedding and text results.

About this page

Researched and reviewed by Promptly Found. Reviewed Dec 1, 2026. Next review due Mar 2027.

Notes

  1. 1
    Reciprocal rank fusion outperforms Condorcet and individual rank learning methodsACM SIGIR '09 · Jul 19, 2009 · Checked Dec 1, 2026 · Paper
  2. 2
    Relevance scoring in hybrid search using Reciprocal Rank Fusion (RRF)Microsoft Learn · Checked Dec 1, 2026 · Primary source
  3. 3
    Reciprocal rank fusionElastic documentation · Checked Dec 1, 2026 · Primary source
  4. 4
    RetrievalOpenAI API documentation · Checked Dec 1, 2026 · Primary source
Cite this page
Citation style

Promptly Found. (2026, December 1). What is reciprocal rank fusion (RRF)? https://promptlyfound.com/glossary/reciprocal-rank-fusion

Revisions 1
First published.