Reordering of enriched inverted indices
First Claim
1. A computer implemented method, comprising:
- reordering an enriched inverted index associated with a database, the enriched inverted index including a first inverted list having a first plurality of current document identifiers of records that contain a first data value, the enriched inverted index being reordered in response to at least one of the first plurality of document identifiers being changed to a different document identifier, the enriched inverted index further including a first data structure storing enrichment data associated with the first inverted list, the reordering of the enriched inverted index comprising;
generating an ordinal sequence corresponding to an order of a second plurality of document identifiers in the first inverted list, the second plurality of document identifiers including the change of the at least one of the first plurality of current document identifiers to the different document identifier;
determining a reordered ordinal sequence, the reordered ordinal sequence corresponding to a sorted order of the second plurality of document identifiers;
first reordering, based at least on the reordered ordinal sequence, the first plurality of current document identifiers in the first inverted list; and
second reordering, based at least on the reordered ordinal sequence, enrichment data stored in the first data structure, the second reordering being performed separately from the first reordering; and
executing, based at least on the reordered enriched inverted index, a query to retrieve, from the database, the records containing the first data value subsequent to the at least one of the first plurality of document identifiers being changed to the different document identifier.
1 Assignment
0 Petitions
Accused Products
Abstract
A method can include: reordering an enriched inverted index associated with a database, the enriched inverted index including a first inverted list having a first plurality of current document identifiers of records that contain a first data value, the enriched inverted index further including a first data structure storing enrichment data, the reordering of the enriched inverted index comprising: generating an ordinal sequence corresponding to an order of a first plurality of current document identifiers that include a change of at least one of the first plurality of current document identifiers to a new document identifier; determining a reordered ordinal sequence corresponding to a sorted order of the second plurality of document identifiers; separately reordering, based at least on the reordered ordinal sequence, the first plurality of current document identifiers in the first inverted list and the enrichment data in the first data structure.
18 Citations
20 Claims
-
1. A computer implemented method, comprising:
-
reordering an enriched inverted index associated with a database, the enriched inverted index including a first inverted list having a first plurality of current document identifiers of records that contain a first data value, the enriched inverted index being reordered in response to at least one of the first plurality of document identifiers being changed to a different document identifier, the enriched inverted index further including a first data structure storing enrichment data associated with the first inverted list, the reordering of the enriched inverted index comprising; generating an ordinal sequence corresponding to an order of a second plurality of document identifiers in the first inverted list, the second plurality of document identifiers including the change of the at least one of the first plurality of current document identifiers to the different document identifier; determining a reordered ordinal sequence, the reordered ordinal sequence corresponding to a sorted order of the second plurality of document identifiers; first reordering, based at least on the reordered ordinal sequence, the first plurality of current document identifiers in the first inverted list; and second reordering, based at least on the reordered ordinal sequence, enrichment data stored in the first data structure, the second reordering being performed separately from the first reordering; and executing, based at least on the reordered enriched inverted index, a query to retrieve, from the database, the records containing the first data value subsequent to the at least one of the first plurality of document identifiers being changed to the different document identifier. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A system, comprising:
-
at least one processor; and at least one memory storing instructions which, when executed by the at least one processor, result in operations comprising; reordering an enriched inverted index associated with a database, the enriched inverted index including a first inverted list having a first plurality of current document identifiers of records that contain a first data value, the enriched inverted index being reordered in response to at least one of the first plurality of document identifiers being changed to a different document identifier, the enriched inverted index further including a first data structure storing enrichment data associated with the first inverted list, the reordering of the enriched inverted index comprising; generating an ordinal sequence corresponding to an order of a second plurality of document identifiers in the first inverted list, the second plurality of document identifiers including the change of the at least one of the first plurality of current document identifiers to the different document identifier; determining a reordered ordinal sequence, the reordered ordinal sequence corresponding to a sorted order of the second plurality of document identifiers; first reordering, based at least on the reordered ordinal sequence, the first plurality of current document identifiers in the first inverted list; and second reordering, based at least on the reordered ordinal sequence, enrichment data stored in the first data structure, the second reordering being performed separately from the first reordering; and executing, based at least on the reordered enriched inverted index, a query to retrieve, from the database, the records containing the first data value subsequent to the at least one of the first plurality of document identifiers being changed to the different document identifier. - View Dependent Claims (10, 11, 12, 13, 14)
-
-
15. A non-transitory computer-readable storage medium including program code, which when executed by at least one data processor, cause operations comprising:
-
reordering an enriched inverted index associated with a database, the enriched inverted index including a first inverted list having a first plurality of current document identifiers of records that contain a first data value, the enriched inverted index being reordered in response to at least one of the first plurality of document identifiers being changed to a different document identifier, the enriched inverted index further including a first data structure storing enrichment data associated with the first inverted list, the reordering of the enriched inverted index comprising; generating an ordinal sequence corresponding to an order of a second plurality of document identifiers in the first inverted list, the second plurality of document identifiers including the change of the at least one of the first plurality of current document identifiers to the different document identifier; determining a reordered ordinal sequence, the reordered ordinal sequence corresponding to a sorted order of the second plurality of document identifiers; first reordering, based at least on the reordered ordinal sequence, the first plurality of current document identifiers in the first inverted list; and second reordering, based at least on the reordered ordinal sequence, enrichment data stored in the first data structure, the second reordering being performed separately from the first reordering; and executing, based at least on the reordered enriched inverted index, a query to retrieve, from the database, the records containing the first data value subsequent to the at least one of the first plurality of document identifiers being changed to the different document identifier. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification