Elsevier

Theoretical Computer Science

Volume 387, Issue 3, 22 November 2007, Pages 284-297
Theoretical Computer Science

Adaptive searching in succinctly encoded binary relations and tree-structured documents

https://doi.org/10.1016/j.tcs.2007.07.015Get rights and content
Under an Elsevier user license
open archive

Abstract

The methods most heavily used by search engines to answer conjunctive queries on binary relations (such as one associating keywords with web-pages) are based on computing the intersection of postings lists stored as sorted arrays and using variants of binary search. We show that a succinct representation of the binary relation permits much better results, while using less space than traditional methods. We apply our results not only to conjunctive queries on binary relations, but also to queries on semi-structured documents such as XML documents or file-system indexes, using a variant of an adaptive algorithm used to solve conjunctive queries on binary relations.

Keywords

Adaptive algorithms
Conjunctive queries
Intersection problem
Labeled trees
Multi-labeled trees
Path queries
Succinct data structures

Cited by (0)

A preliminary version of this article appeared in the proceedings of the 17th annual Symposium on Pattern Matching (CPM 2006). The work was supported by grants from the Natural Science and Engineering Research Council of Canada and the Canada Research Chairs Program.