Efficient set intersection for inverted indexing
J. Shane Culpepper, Alistair Moffat · ACM Transactions on Information Systems · 2010
Conjunctive Boolean queries are a key component of modern information retrieval systems, especially when Web-scale repositories are being searched. A conjunctive query q is equivalent to a | q |-way intersection over ordered sets of integers, where each set represents the documents containing one of the terms, and each integer in each set is an ordinal document identifier. As is the case with many computing applications, there is tension between the way in which the data is represented, and the ways in which it is to be manipulated. In particular, the sets representing index data for typical document collections are highly compressible, but are processed using random access techniques, meaning that methods for carrying out set intersections must be alert to issues to do with access patterns and data representation. Our purpose in this article is to explore these trade-offs, by investigating intersection techniques that make use of both uncompressed “integer” representations, as well as compressed arrangements. We also propose a simple hybrid method that provides both compact storage, and also faster intersection computations for conjunctive querying than is possible even with uncompressed representations.
Cited by 164 works. doi:10.1145/1877766.1877767
Authors
References
- Computer Architecture: A Quantitative Approach
- Computer architecture: a quantitative approach
- Universal codeword sets and representations of the integers
- Run-length encodings (Corresp.)
- Run-length encodings.
- Managing gigabytes (2nd ed.): compressing and indexing documents and images
- An almost optimal algorithm for unbounded searching
- Optimal source codes for geometrically distributed integer alphabets (Corresp.)
- Optimal Source Codes for Geometrically Distributed Integer Alphabets
- Inverted files for text search engines