Fast prefix search in little space, with applications

From MaRDI portal
Publication:3586483

DOI10.1007/978-3-642-15775-2_37zbMATH Open1287.68188arXiv1804.04720OpenAlexW1562034888MaRDI QIDQ3586483FDOQ3586483


Authors: Djamal Belazzougui, Paolo Boldi, Rasmus Pagh, Sebastiano Vigna Edit this on Wikidata


Publication date: 6 September 2010

Published in: Algorithms – ESA 2010 (Search for Journal in Brave)

Abstract: It has been shown in the indexing literature that there is an essential difference between prefix/range searches on the one hand, and predecessor/rank searches on the other hand, in that the former provably allows faster query resolution. Traditionally, prefix search is solved by data structures that are also dictionaries---they actually contain the strings in S. For very large collections stored in slow-access memory, we propose much more compact data structures that support emph{weak} prefix searches---they return the ranks of matching strings provided that emph{some} string in S starts with the given prefix. In fact, we show that our most space-efficient data structure is asymptotically space-optimal. Previously, data structures such as String B-trees (and more complicated cache-oblivious string data structures) have implicitly supported weak prefix queries, but they all have query time that grows logarithmically with the size of the string collection. In contrast, our data structures are simple, naturally cache-efficient, and have query time that depends only on the length of the prefix, all the way down to constant query time for strings that fit in one machine word. We give several applications of weak prefix searches, including exact prefix counting and approximate counting of tuples matching conjunctive prefix conditions.


Full work available at URL: https://arxiv.org/abs/1804.04720




Recommendations




Cited In (23)





This page was built for publication: Fast prefix search in little space, with applications

Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q3586483)