English

Towards an Optimal Space-and-Query-Time Index for Top-k Document Retrieval

Data Structures and Algorithms 2012-04-03 v2

Abstract

Let \D=\D = {d1,d2,...dD} \{d_1,d_2,...d_D\} be a given set of DD string documents of total length nn, our task is to index \D\D, such that the kk most relevant documents for an online query pattern PP of length pp can be retrieved efficiently. We propose an index of size CSA+nlogD(2+o(1))|CSA|+n\log D(2+o(1)) bits and O(ts(p)+kloglogn+polyloglogn)O(t_{s}(p)+k\log\log n+poly\log\log n) query time for the basic relevance metric \emph{term-frequency}, where CSA|CSA| is the size (in bits) of a compressed full text index of \D\D, with O(ts(p))O(t_s(p)) time for searching a pattern of length pp . We further reduce the space to CSA+nlogD(1+o(1))|CSA|+n\log D(1+o(1)) bits, however the query time will be O(ts(p)+k(logσloglogn)1+ϵ+polyloglogn)O(t_s(p)+k(\log \sigma \log\log n)^{1+\epsilon}+poly\log\log n), where σ\sigma is the alphabet size and ϵ>0\epsilon >0 is any constant.

Keywords

Cite

@article{arxiv.1108.0554,
  title  = {Towards an Optimal Space-and-Query-Time Index for Top-k Document Retrieval},
  author = {Wing-Kai Hon and Rahul Shah and Sharma V. Thankachan},
  journal= {arXiv preprint arXiv:1108.0554},
  year   = {2012}
}

Comments

12 pages

R2 v1 2026-06-21T18:45:20.359Z