Anytime Ranking on Document-Ordered Indexes

Joel Mackenzie, Matthias Petri, Alistair Moffat
4/18/2021
cs.IRcs.DB

Official code: JMMackenzie/anytime-daat (5 stars, C++, Apache-2.0, last commit 2022-09-13).

Abstract

Inverted indexes continue to be a mainstay of text search engines, allowing efficient querying of large document collections. While there are a number of possible organizations, document-ordered indexes are the most common, since they are amenable to various query types, support index updates, and allow for efficient dynamic pruning operations.

Show full abstract

One disadvantage with document-ordered indexes is that high-scoring documents can be distributed across the document identifier space, meaning that index traversal algorithms that terminate early might put search effectiveness at risk. The alternative is impact-ordered indexes, which primarily support top-k disjunctions, but also allow for anytime query processing, where the search can be terminated at any time, with search quality improving as processing latency increases. Anytime query processing can be used to effectively reduce high-percentile tail latency which is essential for operational scenarios in which a service level agreement (SLA) imposes response time requirements. In this work, we show how document-ordered indexes can be organized such that they can be queried in an anytime fashion, enabling strict latency control with effective early termination. Our experiments show that processing document-ordered topical segments selected by a simple score estimator outperforms existing anytime algorithms, and allows query runtimes to be accurately limited in order to comply with SLA requirements.

View on arXivView PDF

Code Implementations(1)

Apache-2.0
51C++, PythonApr 15, 20214 years agoApache-2.0

Similar Papers

Cite this paper

@article{mackenzie2021anytime,
  title  = {Anytime Ranking on Document-Ordered Indexes},
  author = {Joel Mackenzie and Matthias Petri and Alistair Moffat},
  year   = {2021},
  eprint = {2104.08976},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2104.08976}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2104.08976.svg)](https://codeofpaper.com/paper/2104.08976)

Discussion