We consider the problem of estimating the size of a collection of documents using only a standard query interface. Our main idea is to construct an unbiased and low-variance estimator that can closely approximate the size of any set of documents defined by certain conditions, including that each document in the set must match at least one query from a uniformly sampleable query pool of known size, fixed in advance.Using this basic estimator, we propose two approaches to estimating corpus size. The first approach requires a uniform random sample of documents from the corpus. The second approach avoids this notoriously difficult sample generation problem, and instead uses two fairly uncorrelated sets of terms as query pools; the accuracy of the second approach depends on the degree of correlation among the two sets of terms.Experiments on a large TREC collection and on three major search engines demonstrates the effectiveness of our algorithms.
['Andrei Z. Broder', 'Marcus Fontura', 'Vanja Josifovski', 'Ravi Kumar', 'Rajeev Motwani', 'Shubha U. Nabar', 'Rina Panigrahy', 'Andrew Tomkins', 'Ying Xu']
Estimating corpus size via queries