%0 Conference Paper
%A Chierichetti, Flavio
%A Kumar, Ravi
%A Raghavan, Prabhakar
%B 18th International World Wide Web Conference
%C Madrid, Spain
%D 2009
%F www2009:46
%P 451-451
%T Compressed Web Indexes
%U http://www2009.eprints.org/46/
%X Web search engines use indexes to efficiently retrieve pages containing speciﬁed query terms, as well as pages linking to speciﬁed pages. The problem of compressed indexes that permit such fast retrieval has a long history. We consider the problem: assuming that the terms in (or links to) a page are generated from a probability distribution, how well compactly can we build such indexes that allow fast retrieval? Of particular interest is the case when the probability distribution is Zipﬁan (or a similar power law), since these are the distributions that arise on the web. We obtain sharp bounds on the space requirement of Boolean indexes for text documents that follow Zipf’s law. In the process we develop a general technique that applies to any probability distribution, not necessarily a power law; this is the ﬁrst analysis of compression in indexes under arbitrary distributions. Our bounds lead to quantitative versions of rules of thumb that are folklore in indexing. Our experiments on several document collections show that the distribution of terms appears to follow a double-Pareto law rather than Zipf’s law. Despite widely varying sets of documents, the index sizes observed in the experiments conform well to our theoretical predictions.