METHOD FOR UPDATING INVERTED INDEX OF FLASH SSD
First Claim
1. A method for updating an inverted index of a flash solid state disk (SSD),wherein an on-disk inverted index is constituted by terms and a posting list which is a list of postings corresponding to the respective terms and at least one block which has a predetermined size and is used for containing the postings is provided in each term, andan in-memory inverted index is constituted by input terms and postings corresponding to the respective terms, the method comprising:
- storing postings of a term that is present in only the in-memory inverted index in a block of the output buffer and reading postings of a last block of each posting list to be updated from the on-disk inverted index to be stored in each block of the input buffer, by scanning the on-disk inverted index and the in-memory inverted index;
moving postings of the input buffer to the blocks of the output buffer for each block and attaching new postings of the in-memory inverted index to the block corresponding to the output buffer; and
updating the on-disk inverted index by using the postings of each block of the output buffer.
1 Assignment
0 Petitions
Accused Products
Abstract
Disclosed is a method for updating an inverted index of a flash solid state disk (SSD). The method including: storing postings of a term that is present in only an in-memory inverted index in a block of an output buffer and reading postings of a last block of each posting list to be updated from an on-disk inverted index to be stored in each block of an input buffer, by scanning the on-disk inverted index and the in-memory inverted index; moving postings of the input buffer to the blocks of the output buffer for each block and attaching new postings of the in-memory inverted index to the block corresponding to the output buffer; and updating the on-disk inverted index by using the postings of each block of the output buffer.
-
Citations
9 Claims
-
1. A method for updating an inverted index of a flash solid state disk (SSD),
wherein an on-disk inverted index is constituted by terms and a posting list which is a list of postings corresponding to the respective terms and at least one block which has a predetermined size and is used for containing the postings is provided in each term, and an in-memory inverted index is constituted by input terms and postings corresponding to the respective terms, the method comprising: -
storing postings of a term that is present in only the in-memory inverted index in a block of the output buffer and reading postings of a last block of each posting list to be updated from the on-disk inverted index to be stored in each block of the input buffer, by scanning the on-disk inverted index and the in-memory inverted index; moving postings of the input buffer to the blocks of the output buffer for each block and attaching new postings of the in-memory inverted index to the block corresponding to the output buffer; and updating the on-disk inverted index by using the postings of each block of the output buffer. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
Specification