Method for storing inverted index, method for on-line updating the same and inverted index mechanism
AssigneeInternational Business Machines Corporation
InventorsZhong Su, Yue Pan, Li Ping Yang
Life of this patent
Estimating the term…
Loading patent…
AssigneeInternational Business Machines Corporation
InventorsZhong Su, Yue Pan, Li Ping Yang
Estimating the term…
The invention provides a method for storing inverted index based on an inverted file, the method comprising: creating an inverted file in a storage medium for storing the inverted index, the inverted file including a plurality of fixed-size index blocks, each of them including a plurality of fixed-size index units, wherein each index unit is used to store one piece of index information; and sequentially storing the index information related to each index item into the created inverted file, wherein the index information related to the same index item is stored in continuous blocks and the index units in each index block are only for storing index information related to the same index item. Since each index block is used only for storing index information related to the same index item, when performing operations on the index information in an index block, other index items are not affected, therefore, it is possible to on-line update index information in any index block.
A method for storing an inverted index based on an inverted file, the method comprising:
A method for on-line inserting a new piece of index information in an inverted file, wherein said inverted file includes:
A method for on-line deleting a piece of index information in an inverted file, wherein said inverted file includes:
A method for on-line defragmenting an inverted file, wherein said inverted file includes:
An inverted index mechanism adapted for on-line updating, the inverted index mechanism comprising:
A program product comprising a signal-bearing media tangibly embodying a program of machine-readable instructions executable by a digital processing apparatus to perform a method for storing an inverted index based on an inverted file, the method comprising:
Dependencies are inferred from the claim text.