Inverted Index Segmentation for Search Efficiency

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional search engines face inefficiencies due to the heavy burden on Central Processing Unit and magnetic disks caused by large inverted index data, resulting from mixing high and low frequency term indexes in a single device, which leads to slow access speeds and high memory occupancy.

Innovation Solution

Separate high frequency and low frequency term indexes and store them in different retrieval modules corresponding to independent storage devices, optimizing data access and reducing read/write operations on magnetic disks.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Stability of the object's composition

If inverted indexes for all terms are stored in a single computing device, then the search engine can maintain a unified index structure, but the storage space occupancy increases and the access speed decreases due to heavy read/write operations on magnetic disks

Engineering Contradiction:
Improveunified index structureVSAvoidaccess speed
Core Design Contradiction:
Stability of the object's compositionVSSpeed

Solution Approach 1:

The patent divides the inverted index into multiple segments based on term frequency: high-frequency term inverted indexes and low-frequency term inverted indexes. Each segment is stored in separate storage devices, reducing the burden on any single device and improving access speed while maintaining the overall index structure.

Inventive Principle:
Principle #1Segmentation

2Device complexity

If inverted indexes for all terms are stored in a single computing device, then the index management is simplified, but the memory occupancy increases and the computation burden on CPU and magnetic disks becomes too heavy

Engineering Contradiction:
Improveindex management complexityVSAvoidmemory occupancy
Core Design Contradiction:
Device complexityVSQuantity of substance

Solution Approach 1:

The patent segments the inverted index data into high-frequency and low-frequency parts, storing them in different storage devices. This segmentation reduces memory occupancy in any single device and distributes the computation burden, while the management complexity increases only slightly due to the clear segmentation strategy.

Inventive Principle:
Principle #1Segmentation

3Adaptability or versatility

If the inverted index data is large in volume, then the search engine can index more terms from 200 million documents (1.4 billion terms), but the read and write operations on magnetic disks increase, resulting in low efficiency

Engineering Contradiction:
Improveterm coverageVSAvoidsearch efficiency
Core Design Contradiction:
Adaptability or versatilityVSProductivity

Solution Approach 1:

The patent segments the large volume of inverted index data into high-frequency and low-frequency segments, storing them in separate storage devices. This allows the system to maintain comprehensive term coverage (1.4 billion terms from 200 million documents) while reducing the read/write operation burden on any single magnetic disk, thereby improving search efficiency.

Inventive Principle:
Principle #1Segmentation

4Device complexity

If high frequency terms and low frequency terms are mixed in a single inverted index, then the index structure is unified, but the read operations on magnetic disks cannot be optimized for different access patterns

Engineering Contradiction:
Improveindex structureVSAvoiddata access
Core Design Contradiction:
Device complexityVSEase of operation

Solution Approach 1:

The patent segments the inverted index into high-frequency and low-frequency parts with different access patterns. High-frequency terms are stored in storage devices optimized for fast access, while low-frequency terms are stored in other storage devices. This segmentation optimizes data access for different term types while maintaining relatively simple index structures.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS10452691B2Method and apparatus for generating search results using inverted index
Publication Date: 2019.10.22 TENCENT TECHNOLOGY (SHENZHEN) CO LTD
  • US10452691B2 patent drawing
  • US10452691B2 patent drawing
  • US10452691B2 patent drawing

AI summary

Methods and apparatuses for search are provided and related to the field of search technology. A method may include: performing term segmentation for grabbed documents to count a term frequency of each term, the term frequency of the term representing a number of the grabbed documents containing the term; generating a high frequency term inverted index and a low frequency term inverted index respectively, wherein the high frequency term inverted index contains terms having a term frequency higher than a predefined threshold, and the low frequency term inverted index contains terms having a term frequency not higher than the predefined threshold; and loading the high frequency term inverted index and the low frequency term inverted index respectively to different retrieval modules, the different retrieval modules respectively corresponding to mutually independent storage devices.