Skip to main content
QUICK REVIEW

[Paper Review] Proximity Full-Text Search with a Response Time Guarantee by Means of Additional Indexes with Multi-Component Keys

Alexander B. Veretennikov|arXiv (Cornell University)|Jan 1, 2018
Algorithms and Data CompressionComputer Science14 references2 citations
TL;DR

This paper proposes a proximity full-text search algorithm using three-component key indexes to significantly reduce response time, especially for high-frequency query terms. By pre-indexing word proximity within a configurable MaxDistance, the method achieves up to 94.7x faster query execution compared to traditional two-component indexing, demonstrating substantial performance gains in full-text search workloads.

ABSTRACT

Full-text search engines are important tools for information retrieval. In a proximity full-text search, a document is relevant if it contains query terms near each other, especially if the query terms are frequently occurring words. For each word in the text, we use additional indexes to store information about nearby words at distances from the given word of less than or equal to MaxDistance, which is a parameter. We had shown that additional indexes with three-component keys can be used to improve the average query execution time up to 94.7 times if the queries consist of high-frequency used words. In this paper, we present a new search algorithm with even more performance gains. We also present results of search experiments, which show that three-component key indexes enable much faster searches in comparison with two-component key indexes.

Motivation & Objective

  • Improve response time in proximity full-text search for frequently occurring words.
  • Address the performance bottleneck in traditional full-text search when handling high-frequency terms near each other.
  • Design an indexing structure that enables fast retrieval of word pairs within a specified distance.
  • Evaluate the effectiveness of multi-component key indexes in reducing query execution time compared to two-component approaches.

Proposed method

  • Construct additional indexes using three-component keys: (word, distance, neighbor_word) to capture proximity relationships.
  • Store for each word all nearby words within MaxDistance, enabling efficient lookup during query processing.
  • Use the three-component key structure to precompute and index proximity information, reducing on-the-fly computation.
  • Optimize query execution by leveraging pre-indexed proximity data to quickly identify relevant documents.
  • Compare performance against two-component key indexes (word, neighbor_word) to isolate the benefit of distance indexing.
  • Implement a search algorithm that efficiently retrieves documents based on proximity constraints using the three-component index.

Experimental results

Research questions

  • RQ1Can three-component key indexes reduce response time in proximity full-text search compared to two-component indexes?
  • RQ2How does the performance gain scale with increasing frequency of query terms?
  • RQ3What is the maximum achievable speedup in query execution time using the proposed indexing structure?
  • RQ4How does the MaxDistance parameter affect index size and query performance?

Key findings

  • The proposed three-component key indexing structure reduces average query execution time by up to 94.7 times for queries involving high-frequency words.
  • Three-component key indexes outperform two-component key indexes in terms of search speed, especially for frequent query terms.
  • The performance gain is most significant when query terms are commonly occurring words that appear frequently in the corpus.
  • The method enables low-latency proximity search by precomputing and indexing word proximity relationships within a configurable MaxDistance.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.