Index Ai Academy
Glossary · Phase 1 · Building with LLMs

Reciprocal rank fusion

Also written: RRF

A simple way to merge two ranked lists: each document scores 1 ÷ (60 + its rank) in each list, and the scores are added.

The simplest merge that works well is called reciprocal rank fusion, or RRF. ("Fusion" means merging.) Every list a document appears in gives it some points: 1 ÷ (60 + its rank in that list). Then you add up each document's points and sort by the total.

Try it now

When an answer is wrong, first ask which of the two failed. The fixes are completely different.

Learn it properly

Making RAG good · Hybrid search, reranking and citations. About 30 minutes.

Create a free account See what's in the lesson

Other terms from the same lesson

Never trained an AI?

Teach a small one to write, right in your browser. It takes about 20 seconds and needs no account.

Teach it to write