A search tool returns ten documents, but the user only needs one that answers the question. Mean reciprocal rank, usually shortened to MRR, asks how far down the list the first relevant result appears. It rewards finding that first useful document near the top.
Relevance must be judged against a specific query. A document can be excellent in general and still fail to answer the question being tested.
Work through three searches
Suppose an illustrative test contains three queries. The first relevant document appears at rank 1 for the first query and rank 4 for the second. For the third, none of the first ten results is relevant. With evaluation limited to ten results, their reciprocal-rank scores are 1, 1/4 and 0.
The mean is (1 + 0.25 + 0) / 3 = 0.4167, rounded to four decimal places. This is a worked example, not a measurement of a real search product.
Elastic’s ranking-evaluation documentation defines MRR in terms of the first relevant result and documents the evaluation depth and relevance threshold. Record those settings with the score. MRR measured at ten results is not automatically comparable with a score measured over a much deeper list.
The second useful document does not improve this score
If two systems both place a relevant document first, each receives a reciprocal rank of 1 for that query. One could then supply nine irrelevant results while the other supplies nine more useful ones. Ordinary MRR would not distinguish those lists.
That limitation matters when the task is to collect several sources, compare competing policies or retrieve all records for an investigation. Use additional measures suited to that need rather than asking one metric to describe the whole experience.
For an AI assistant that retrieves documents, also evaluate whether the generated answer uses the retrieved evidence correctly. A strong first result does not guarantee faithful summarisation, correct citations or a useful final response.
Keep a small inspection sheet with the query, the first relevant rank, the judgement reason and the test cutoff. Review the failures as well as the average. A single MRR figure is easier to improve responsibly when the team can point to the searches that produced it.

