2013
Conference article  Open Access

Space-efficient data structures for top-k completion

Hsu P., Ottaviano G.

Top-k completion  Scored string sets  Tries  Compression  H.3.3 Information Search and Retrieval  E.1 Data Structures. Trees 

Virtually every modern search application, either desktop, web, or mobile, features some kind of query auto-completion. In its basic form, the problem consists in retrieving from a string set a small number of completions, i.e. strings be- ginning with a given prefix, that have the highest scores according to some static ranking. In this paper, we focus on the case where the string set is so large that compres- sion is needed to fit the data structure in memory. This is a compelling case for web search engines and social networks, where it is necessary to index hundreds of millions of distinct queries to guarantee a reasonable coverage; and for mobile devices, where the amount of memory is limited. We present three different trie-based data structures to address this problem, each one with different space/time/ complexity trade-offs. Experiments on large-scale datasets show that it is possible to compress the string sets, including the scores, down to spaces competitive with the gzip'ed data, while supporting efficient retrieval of completions at about a microsecond per completion.

Source: WWW 2013 - 22st International Conference on World Wide Web, pp. 583–594, Rio De Janeiro, Brazil, 13-17 May 2013



Back to previous page
BibTeX entry
@inproceedings{oai:it.cnr:prodotti:277761,
	title = {Space-efficient data structures for top-k completion},
	author = {Hsu P. and Ottaviano G.},
	booktitle = {WWW 2013 - 22st International Conference on World Wide Web, pp. 583–594, Rio De Janeiro, Brazil, 13-17 May 2013},
	year = {2013}
}
CNR ExploRA

Bibliographic record

Also available from

dl.acm.orgOpen Access