A test collection fixes three things in advance: documents, written information needs, and relevance judgments made against the needs rather than the queries. Cranfield, the original, has 1,400 aerodynamics abstracts and 225 queries judged exhaustively: 1,612 relevant pairs, a median of 6 per query, so per-query scores are coarse. Even its screening of every document against every question was incomplete; the students found 517 of the 711 relevant documents the authors had not cited. Larger collections (TREC, GOV2, MS MARCO) judge by pooling or shallowly instead. Tuning on the test topics inflates results: over 30 random splits of Cranfield, the best of 35 BM25 settings gained a median 0.0071 in MAP on the half it was chosen on and 0.0020 on the held-out half.
Suppose a new stemmer is proposed, and the question is whether it improves retrieval. Trying it on a few queries and looking at the results is not enough. A few queries prove little, and the next person to try it will choose different ones. What would a fair comparison need, one that anyone could repeat and get the same answer?
It needs the same documents, the same information needs, and the same judgments of which documents satisfy each need, fixed in advance and shared by everyone. That combination is a test collection. Comparing systems by running them against test collections is called the Cranfield paradigm, after the experiments in which Cyril Cleverdon introduced it. They ran from the late 1950s to the mid-1960s (Cleverdon, 1967; see the history). We have met one test collection in miniature already: the thesis student's six Arctic documents in what information retrieval is, each judged yes or no against a written statement of the student's need.
Here is the route. First we name the three parts of a test collection and see why judgments are made against needs rather than queries. Then we open up the Cranfield collection, small enough to inspect completely, and measure what it contains. Next we survey the larger collections that followed it. Finally we set out the rules for using a collection fairly, with an experiment showing how much tuning on the test topics inflates a result.
The three components
A test collection has three parts (Manning, Raghavan, and Schütze, 2008, §8.1):
- A document collection. A fixed set of documents, from a few thousand abstracts to hundreds of millions of web pages.
- A set of information needs. Each need is written out in full, not just as a query. Fifty is a common minimum: the course text gives it as a rule of thumb (§8.1), and significance testing measures what a set of that size can detect.
- Relevance judgments. For each need, a judgment of whether each document, or each judged document, is relevant. The judgments are usually binary, relevant or not, and sometimes graded on a small scale. In TREC terminology the judgment file is the qrels, for query relevance judgments.
The third part carries the most weight, and it must say what a document is relevant to. The answer is the information need, not the query.
Needs, not queries
Relevance is judged against the information need, not the query. Manning, Raghavan, and Schütze give the example of the need
Information on whether drinking red wine is more effective at reducing your risk of heart attacks than white wine.
expressed as the Boolean query wine AND red AND white AND heart AND attack AND effective.
Example (all the words, and not the need). Of the following two documents, only the second is relevant. The first contains all six query words but discusses the effect of heart attacks on wine sales. The second compares the effects of red and white wine on cardiovascular risk without using the word effective. The first matches every word but does not address the need. The second addresses the need, and the missing word does not matter. This is the thesis student's document A again, the one with the right words and the wrong relationship. Judging against the need is what makes a test collection measure whether a system finds useful documents, rather than whether it matches words. Relevance explains the simplified notion of relevance that such judgments stand for.
For this reason TREC writes each information need as a structured topic with three fields:
- a title: a few words, like a typical query;
- a description: one sentence stating the need;
- a narrative: a paragraph saying exactly what counts as relevant and what does not.
Systems may be run with only the title, to imitate short user queries, or with the description too. The assessors always judge against the narrative.
So much for the parts in principle. The next section opens a real collection and counts what is inside.
Inside the Cranfield collection
The three components are easiest to understand in a real collection small enough to inspect completely. Cranfield is that collection. The articles on comparing ranking models and relevance feedback run their experiments on it, and so do the measure articles of this topic.
How it was built
Cleverdon, Mills, and Keen (1966, chapter 3) describe the construction in three stages. The method answered a specific problem: no existing set of real search questions came with people who could say which documents answered them.
- Questions and first judgments from authors. The project collected 271 recent papers in high-speed aerodynamics and aircraft structures, called base documents, and wrote to each author. The author was asked to state the problem that had prompted the research as a search question, and to add up to three supplementary questions. The author was also asked to grade the relevance of the papers the base document cited, on a five-point scale. 182 authors replied with 641 questions. The cited papers, the base documents, and 209 further papers from similar sources made up the collection of 1,400 documents (pp. 19–21).
- Screening every document against every question. The authors knew only the papers they had cited, but other documents in the collection could also be relevant. Five postgraduate students with a knowledge of aerodynamics examined every document against each of 361 selected questions. That took over 1,500 hours of work and, in principle, more than half a million individual decisions. The students noted every document that was possibly relevant, and were told to be liberal, since a false alarm would be caught in the next stage (p. 22).
- Final judgments from authors. The documents the students found, plus documents suggested by bibliographic coupling, were sent back to the question's author, who was the final arbiter of relevance (pp. 22–23).
The grading scale (Cleverdon, Mills, and Keen, 1966, p. 21) has five grades:
- 1, "references which are a complete answer to the question";
- 2, "a high degree of relevance";
- 3, "useful, either as general background to the work or as suggesting methods";
- 4, "minimum interest";
- 5, "of no interest".
Lower numbers are better, the reverse of most modern graded scales. That matters when grades are used as gains in nDCG.
The three stages did not find every relevant document, and the report's own counts show it. Of the relevant documents the authors accepted, 1,250 came from their own citations, 592 from the students' screening, and 119 from bibliographic coupling only (Table 3.4). Two lessons follow.
- One source misses much of the relevant set. The authors' own citations supplied $1{,}250$ of the $1{,}250 + 592 + 119 = 1{,}961$ accepted documents, or 64 percent: less than two thirds of what they themselves judged relevant. Judging only the documents a single source proposes misses much of what is relevant.
- Even exhaustive screening was not complete. The documents that did not come from the authors' citations number $592 + 119 = 711$. Of these, the report credits the students with 517, or 73 percent (p. 31). The 517 is the 592 of Table 3.4 after a correction the report makes on that page: 75 of the 592 were documents that an author accepted for a second question of theirs although they had been submitted for a different one, and they are not counted as finds of the screening.
"Every document was judged" means every document was considered, not that every relevant document was found. The same problem returns, in a larger form, in the pooling used for large collections.
What the distributed collection contains
The version distributed for research today, loaded here with the ir_datasets library, has 1,400 documents and 225 of the questions. (Manning, Raghavan, and Schütze count 1,398 abstracts; two of the 1,400 records are essentially empty.) The script tools/experiments/cranfield/collection_stats.py measures it:
| Quantity | Value |
|---|---|
| Documents | 1,400 (title and abstract; median about 150 words) |
| Queries | 225 (median 17 words; 12.0 index terms on average after stop words and stemming) |
| Query–document pairs | 315,000 |
| Relevant pairs (grades 1–4) | 1,612 |
| Relevant documents per query | mean 7.2, median 6, quartiles 4 and 9, range 1 to 39 |
| Queries with three or fewer relevant documents | 54 |
Two features matter for evaluation.
First, most queries have few relevant documents, so a single relevant document moves a query's score a long way.
Example (one document, a third of the recall). For a query with three relevant documents, finding one more of them raises recall by a third. A system that finds one of the three has recall 1/3, and a change that finds a second raises it to 2/3. One document is a third of the relevant set, and recall for such a query can take only the four values 0, 1/3, 2/3 and 1. Cranfield has 54 queries with three or fewer relevant documents. Per-query scores on Cranfield are therefore coarse, and they vary widely between queries. That is why significance tests pair the scores by query.
Second, the judgments are graded but skewed toward the middle grades. A binary measure that counts grades 1 to 4 as relevant treats a "minimum interest" reference the same as a complete answer.
The code −1. Each query also has exactly one entry with the code −1. The notes distributed with the judgments do not define it. They quote Cleverdon's five grades and say only that no grade-5 judgments are included. The documentation of the ir_datasets library (MacAvaney et al., 2021) labels −1 "references of no interest", Cleverdon's wording for grade 5. But the same table also reverses grades 1 to 4 relative to the distributed notes, so it is not an independent account of what the code meant.
For query 1 the −1 document is 486, similarity laws for aerothermoelastic testing, whose title restates the query. A plausible reading, which no source we have found states, is that −1 marks the base document from which the question was drawn. Cleverdon's team deleted that document from the results when testing its question (1966, p. 21). The data fit that reading:
- the 225 entries name only 128 distinct documents, as expected when one author's paper gave rise to several questions;
- BM25 ranks the −1 document first for 91 of the 225 queries and in the top ten for 162, which is what the paper a question was written from would be expected to do.
The experiments on this site treat it as nonrelevant, as the distributed judgments do. Systems therefore lose some credit at rank 1 that the original experiments would not have charged.
Query 1 shows what the judgments look like:
what similarity laws must be obeyed when constructing aeroelastic models of heated high speed aircraft.
| Grade | Documents | Example title |
|---|---|---|
| 1, complete answer | none | |
| 2, high relevance | 7 | scale models for thermo-aeroelastic research (184) |
| 3, useful | 14 | the design and testing of supersonic flutter models (880) |
| 4, minimum interest | 7 | photo-thermoelasticity (462) |
Twenty-eight of the 1,400 documents are relevant to it, and every other document was considered and found not to be. The narrative that a TREC topic would state is missing. What counted as relevant was decided by the author who asked the question, as the need behind the question rather than its words.
Cranfield could be judged completely because it is small. A collection a thousand times larger cannot be, and the collections that followed it gave up complete judging in different ways.
Major collections
| Collection | Contents | Notes |
|---|---|---|
| Cranfield | 1,400 abstracts of aerodynamics articles (1,398 in the course text's count, as explained above), 225 queries | Judged exhaustively for every query and document. Too small for modern use, but the origin of the method. |
| TREC ad hoc | About 1.89 million documents, mostly newswire, with 450 topics over TREC 1–8 | The workhorse of the 1990s. Judged by pooling. |
| GOV2 | About 25 million pages from U.S. government websites | Used in TREC's Terabyte track to test retrieval at web scale. |
| CLEF | Collections in many European languages | Emphasis on cross-language and multilingual retrieval. |
| NTCIR | Collections in Japanese, Chinese, and Korean | East Asian languages and cross-language retrieval. |
| Reuters-21578, RCV1 | Newswire stories with topic categories | Used mainly for text classification. |
| MS MARCO | About 8.8 million web passages and about one million real Bing queries | Shallow judgments, typically one relevant passage per query. Used to train and test neural rankers. |
Sizes are from Manning, Raghavan, and Schütze (2008, §8.2), except MS MARCO (Bajaj et al., 2016).
The collections illustrate a trade-off between depth and breadth of judgment.
- Cranfield judged every document for every query, which is possible only for a small collection.
- TREC judged a pool of the top-ranked documents from many systems for each of about fifty topics a year (Voorhees and Harman, 2005). Relevance judgments, pooling, and agreement describes how.
- MS MARCO judged very few documents for each of a very large number of queries. That is enough to train learned rankers, which need many queries. The learned sparse rankers of Learned Sparse Retrieval, DeepCT, doc2query and SPLADE, were trained and reported on its passages.
Shallow judgments make it unsafe to treat unjudged documents as nonrelevant, and that shapes the measures used with such collections.
A collection, however well judged, is only an instrument. The remaining question is how to use it without fooling ourselves.
Using a collection fairly
A test collection is a shared instrument, and it can be misused in ways that inflate results without anyone intending it. Four rules guard against the commonest misuses.
Separate development from testing
Every retrieval method has parameters: BM25's $k_1$ and $b$, the slope of pivoted normalization, the number of feedback terms. Suppose they are tuned on the same topics on which results are reported. Then the reported score measures how well the method fits those topics, not how well it will perform on new ones. The standard practice is to tune on a development set of topics and report results on a separate test set (Manning, Raghavan, and Schütze, 2008, §8.1), ideally used once.
The effect is large next to the gains that tuning finds. In the experiment below, a setting chosen on half of Cranfield's queries gained a median of 0.0071 in MAP on that half and 0.0020 on the other half. The experiment (collection_stats.py) runs as follows. BM25 has two parameters. A grid of 7 values of $k_1$ (0.3 to 3.0) and 5 values of $b$ (0 to 1) gives 35 settings. On all 225 queries the best setting, $k_1 = 3.0$ and $b = 0.5$, reaches a MAP of 0.312, against 0.307 for the usual default $k_1 = 1.2$, $b = 0.75$. (Mean average precision is defined later in this topic; here it is enough that higher is better.)
Reporting that 0.005 gain would be reporting a number chosen because it was the largest of 35. To measure how much of such a gain is real, the experiment splits the queries at random into a tuning half (112 queries) and a held-out half (113). It chooses the best of the 35 settings on the tuning half, then measures that setting's gain over the default on both halves.
Example (the gain shrinks on held-out queries). The chosen setting's gain on the held-out half is smaller than on the tuning half, and by a lot. Over 30 random splits:
| Gain in MAP over the default | Median | Interquartile range |
|---|---|---|
| On the tuning half, where the setting was chosen | +0.0071 | +0.0059 to +0.0106 |
| On the held-out half | +0.0020 | −0.0004 to +0.0043 |
Most of the apparent gain was selection, not improvement. The setting that wins on the tuning half wins partly because it suits the particular queries in that half, and those queries are not repeated in the other half.
The figure shows a pattern that makes the effect hard to notice from inside one experiment. The ten splits with the largest tuning gains averaged −0.0019 on their held-out halves, and the ten with the smallest averaged +0.0045. Part of this is mechanical. The two halves always add up to the same 225 queries, so a setting that does unusually well on one half must do correspondingly less well on the other. That is the point: an unusually large gain on the tuning topics is a sign of luck in the split as much as of a good setting. A large improvement found by searching over many settings is evidence mostly of the search.
Beware repeated reuse
Even with that discipline, a research community that tests hundreds of ideas on the same collection will eventually find some that work there by chance. Results that hold across several collections are more trustworthy than a large gain on one. The BEIR benchmark is built on that principle: it runs retrievers trained elsewhere, most on MS MARCO, on 18 other datasets without further training, and Evaluating Embedding Models and Limits of Single-Vector Retrieval report what it shows. Armstrong, Moffat, Webber, and Zobel (2009) surveyed a decade of papers reporting results on TREC ad hoc collections. They found no upward trend in the reported scores: most of the claimed improvements were measured against weak baselines, and few exceeded the best results of the original TREC evaluations. A reported gain should therefore be read against the strongest published result on the collection, not only against the paper's own baseline.
Report per-query results, not only averages
Systems differ far more across queries than between each other. An average can hide a method that helps a few queries greatly and harms many slightly.
On Cranfield, Porter stemming raises BM25's MAP from 0.282 to 0.307. Yet it makes 83 of the 225 queries worse, one of them by 0.45 in average precision. Meanwhile the scores of either system vary between queries with a standard deviation of about 0.23. Back to the stemmer of the opening, then: the average says it helps, but more than a third of the queries say otherwise. Significance tests use the per-query results, and that article works through this comparison.
Check for unjudged documents
A collection judged by pooling has judgments only for the documents that its original systems retrieved. A new system may retrieve relevant documents that nobody judged, and standard measures count them as nonrelevant. Reporting how many of a new system's top documents are unjudged reveals whether this is happening. In the pooling simulation in relevance judgments, runs that contributed to a shallow pool had none of their top ten documents unjudged. The other runs had between 13 and 38 percent unjudged, and the weakest run 88 percent.
What a test collection measures
A common misreading is that a high score on a test collection means users will be satisfied. A test collection measures something narrower: how well a system ranks documents against fixed judgments of topical relevance, averaged over a set of needs. That is a simplified version of what users care about, as relevance explains. It leaves out several things:
- how fast results arrive;
- how well snippets help;
- whether the user's need changed during the session;
- whether the user was satisfied.
Manning, Raghavan, and Schütze (2008, §8.6) call the true goal user utility, and relevance judgments a proxy for it. The proxy has served the field well. Methods that improve scores on test collections have generally improved real systems, though, as noted in relevance, user studies show the correspondence is imperfect. Complementary methods that measure behavior directly are covered in online evaluation.
Worked problems
The problems below are posed on this article's own data: the six Arctic documents, the counts measured on Cranfield, and the figures quoted from the Cranfield report. Each number is recomputed in tools/experiments/eval_measures/worked_examples.py.
Problem 1 (judgments for the Arctic documents). Write the relevance judgments for the thesis student's six documents as a qrels file with topic number 1, and use them to score the result sets of the AND query, which returns A and B, and of the OR query, which returns A, B, C, E and F.
Solution. The judgments are made against the need, evidence about how a changing climate is altering Arctic species, and the Arctic example records that B, C and D serve it and A, E and F do not. One line per document, in the order topic, iteration, document, grade:
1 0 A 0
1 0 B 1
1 0 C 1
1 0 D 1
1 0 E 0
1 0 F 0
Every document is judged, so nothing is left to assume. Three documents are relevant. The AND result holds one of them (B) among two documents: precision $1/2 = 0.50$ and recall $1/3 = 0.33$. The OR result holds two of them (B and C) among five: precision $2/5 = 0.40$ and recall $2/3 = 0.67$. These are the values the next article starts from. Document A is the instructive line. It contains all three query words and its grade is 0, because the judgment was made against the need and not against the query.
Problem 2 (how much judging Cranfield took, and how much of it found something). From the table of the distributed collection, find the number of judgments that exhaustive judging requires, the share of them that are "relevant", and the mean number of relevant documents per query.
Solution. Exhaustive judging takes one decision for every pair of a query and a document: $225 \times 1{,}400 = 315{,}000$ decisions. Of these, 1,612 are relevant at some grade, a share of $1{,}612 / 315{,}000 = 0.0051$, or about one decision in 195. The mean number of relevant documents per query is $1{,}612 / 225 = 7.2$. Two consequences follow from the same division. A system that marked every pair nonrelevant would be right 99.5 percent of the time, which is why the next article rejects accuracy as a measure. And more than 99 percent of the judging effort went into confirming that documents are not relevant, which is the waste that pooling removes.
Problem 3 (what each source contributed). From the counts of the Cranfield report quoted above (1,250 relevant documents from the authors' citations, 592 from the students' screening, 119 from bibliographic coupling only, and 517 credited to the students on p. 31, which is the 592 less 75 documents accepted against a second question), find the share of the accepted relevant documents that the authors' citations supplied, and the share of the remaining documents that the students found.
Solution. The accepted documents number $1{,}250 + 592 + 119 = 1{,}961$. The authors' citations supplied $1{,}250 / 1{,}961 = 0.637$ of them, so 36 percent of what the authors accepted as relevant was not among the papers they had cited. The report cautions that the authors may well have known of many of these papers and cited only the ones they thought most relevant (p. 28), so the figure measures what citations miss, not what authors did not know. The documents from the other two sources number $592 + 119 = 711$, and the students are credited with $517 / 711 = 0.727$ of them. So a screening of every document against every question, by people told to be liberal, still left more than a quarter of these documents to be found another way.
Problem 4 (how much of a tuned gain survives). In the tuning experiment, how many settings were compared, what gain did the best of them show on all 225 queries, and what share of the median gain on the tuning half remained on the held-out half?
Solution. The grid has $7 \times 5 = 35$ settings. On all 225 queries the best setting scores 0.312 against the default's 0.307, a gain of 0.005. In the 30 random splits the median gain was 0.0071 on the tuning half and 0.0020 on the held-out half, and $0.0020 / 0.0071 = 0.28$. About 28 percent of the tuning-half gain remained. This is a ratio of two medians taken over the same 30 splits, and it describes this collection and this grid; it is an observation from the experiment and not a general constant. The direction is general: the best of many settings on a sample is chosen partly for its luck on that sample, so its gain on new queries is smaller on average.
What we have learned
A test collection fixes three things in advance: documents, written needs, and judgments made against the needs rather than the queries. Cranfield showed how such judgments can be built, and also that even exhaustive screening misses relevant documents. Its distributed version has few relevant documents per query, so per-query scores are coarse and vary widely. Larger collections trade depth of judgment for breadth. Using any of them fairly means tuning on separate topics, as the 30 random splits showed: most of a gain found by search over settings disappears on held-out queries.
The collection supplies the judgments, but not yet a score. The next article, Precision, Recall, and the F Measure, defines the simplest numbers that can be computed from a system's output and the judgments, for an unordered set of results.
References
- Armstrong, T. G., Moffat, A., Webber, W., and Zobel, J. (2009). Improvements that don't add up: Ad-hoc retrieval results since 1998. In Proceedings of CIKM 2009, 601–610. record
- Bajaj, P., Campos, D., Craswell, N., et al. (2016). MS MARCO: A human generated machine reading comprehension dataset. arXiv:1611.09268 (version 3, 2018). record · 2 pages
- Cleverdon, C. W. (1967). The Cranfield tests on index language devices. Aslib Proceedings, 19(6), 173–194. record · 11 pages
- Cleverdon, C. W., Mills, J., and Keen, M. (1966). Factors Determining the Performance of Indexing Systems, Volume 1: Design, Part 1: Text. Aslib Cranfield Research Project, Cranfield. record
- MacAvaney, S., Yates, A., Feldman, S., Downey, D., Cohan, A., and Goharian, N. (2021). Simplified data wrangling with ir_datasets. In Proceedings of SIGIR 2021, 2429–2436. Cranfield documentation: https://ir-datasets.com/cranfield.html record · 2 pages
- Manning, C. D., Raghavan, P., and Schütze, H. (2008). Introduction to Information Retrieval, sections 8.1, 8.2, and 8.6. Cambridge University Press. record · 102 pages
- Voorhees, E. M., and Harman, D. K. (Eds.) (2005). TREC: Experiment and Evaluation in Information Retrieval. MIT Press. record · 3 pages
Reviewed: verified, 16 Nov 2026 · citations checked, 16 Nov 2026 · editorial review, 23 Nov 2026 · 8 revisions