Method for sampling a compressed index to create a summarized index
First Claim
1. A computer implemented method for generating a summary index data structure of information stored in a database, comprising:
- writing, for each unique portion of the information of the database, a compressed word entry in a compressed index data structure, the word entries being written according to a collating order of the unique portions of information of the database;
immediately following each word entry, writing compressed location entries in the compressed index data structure to indicate where the associated unique portions of the information occur in the database;
while writing the word and location entries to the compressed index data structure, periodically sampling the entries being written to generated summary entries, each summary entry including an encoding of a last word entry written, an encoding of a last location entry written associated with the particular word entry, and an address of a next entry written, the next entry being written following the sampled entry; and
writing the summary entries to a summary index data structure in an order that the word and location entries are sampled.
12 Assignments
0 Petitions
Accused Products
Abstract
In a computer implemented method, a summary index data structure is generated from a data structure which indexes information stored in a database. Compressed word entries are written to a compressed index data structure. The word entries are written according to a collating order of the words which represent the unique portions of information of the database. Compressed location entries for each word entry are also written to the compressed index data structure immediately following each word entry. Each location entry indicates instances of the associated unique portions of the information represented by the words. While writing the word and location entries to the compressed index data structure, periodically sampling the location entries to generated summary entries. Each summary entry including an encoding of a last word entry written, an encoding of a last location entry written. Each summary entry also includes a pointer to the next entry following the sampled location entry. The summary entries are written to the summary index data structure in an order that the location entries are sampled.
-
Citations
3 Claims
-
1. A computer implemented method for generating a summary index data structure of information stored in a database, comprising:
-
writing, for each unique portion of the information of the database, a compressed word entry in a compressed index data structure, the word entries being written according to a collating order of the unique portions of information of the database; immediately following each word entry, writing compressed location entries in the compressed index data structure to indicate where the associated unique portions of the information occur in the database; while writing the word and location entries to the compressed index data structure, periodically sampling the entries being written to generated summary entries, each summary entry including an encoding of a last word entry written, an encoding of a last location entry written associated with the particular word entry, and an address of a next entry written, the next entry being written following the sampled entry; and writing the summary entries to a summary index data structure in an order that the word and location entries are sampled. - View Dependent Claims (2, 3)
-
Specification