Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
110 tokens/sec
GPT-4o
56 tokens/sec
Gemini 2.5 Pro Pro
44 tokens/sec
o3 Pro
6 tokens/sec
GPT-4.1 Pro
47 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

On Optimal Top-K String Retrieval (1207.2632v2)

Published 11 Jul 2012 in cs.DS

Abstract: Let ${\cal{D}}$ = ${d_1, d_2, d_3, ..., d_D}$ be a given set of $D$ (string) documents of total length $n$. The top-$k$ document retrieval problem is to index $\cal{D}$ such that when a pattern $P$ of length $p$, and a parameter $k$ come as a query, the index returns the $k$ most relevant documents to the pattern $P$. Hon et. al. \cite{HSV09} gave the first linear space framework to solve this problem in $O(p + k\log k)$ time. This was improved by Navarro and Nekrich \cite{NN12} to $O(p + k)$. These results are powerful enough to support arbitrary relevance functions like frequency, proximity, PageRank, etc. In many applications like desktop or email search, the data resides on disk and hence disk-bound indexes are needed. Despite of continued progress on this problem in terms of theoretical, practical and compression aspects, any non-trivial bounds in external memory model have so far been elusive. Internal memory (or RAM) solution to this problem decomposes the problem into $O(p)$ subproblems and thus incurs the additive factor of $O(p)$. In external memory, these approaches will lead to $O(p)$ I/Os instead of optimal $O(p/B)$ I/O term where $B$ is the block-size. We re-interpret the problem independent of $p$, as interval stabbing with priority over tree-shaped structure. This leads us to a linear space index in external memory supporting top-$k$ queries (with unsorted outputs) in near optimal $O(p/B + \log_B n + \log{(h)} n + k/B)$ I/Os for any constant $h${$\log{(1)}n =\log n$ and $\log{(h)} n = \log (\log{(h-1)} n)$}. Then we get $O(n\log*n)$ space index with optimal $O(p/B+\log_B n + k/B)$ I/Os.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (4)
  1. Rahul Shah (17 papers)
  2. Cheng Sheng (10 papers)
  3. Sharma V. Thankachan (15 papers)
  4. Jeffrey Scott Vitter (6 papers)
Citations (5)

Summary

We haven't generated a summary for this paper yet.