Method for creating an index and method for searching an index
AssigneeFuji Xerox Co., Ltd.
InventorsYoshiki Watanabe, Hiroshi Hayata
Life of this patent
Estimating the term…
Loading patent…
AssigneeFuji Xerox Co., Ltd.
InventorsYoshiki Watanabe, Hiroshi Hayata
Estimating the term…
A B+ tree index for a full-text search through documents is created fast and fast searches are implemented using the index. A B+ tree index to register sets of words serving as keys and documents containing the words is constituted of a plurality of B+ tree subindexes; a document identification number id and a word identification number iw are assigned to a document and a word to uniquely identify them; as a function to apply to documents, a hash function Hd is provided that maps a document identification number to a value indicating the position of horizontal direction of a two-dimensional array, and as a function to apply to words, a hash function Hw is provided that maps a word identification number to a value indicating the position of vertical direction of the two-dimensional array; and the occurrence of a word in a document is registered in a corresponding subindex B+ tree (Hd(id), Hw(iw)) by using values obtained by applying the hash functions to the document identification number and the word identification number, respectively. The index is searched using a value with a word identification number as a key and a document identification number concatenated.
A method for creating an index in which keys and values are associated to search for a value from a specified key, comprising the steps of:
A method for searching an index which obtains a corresponding document name from a word serving as a key by using an index with document names associated with words contained in the documents,
A method for searching an index which constitutes an index with document names associated with words contained in the documents by a plurality of subindexes, assigns document identification numbers and word identification numbers to document names and words, respectively, to uniquely identify them, and obtains a corresponding document name from a word serving as a key by using an index registered in a subindex in a two-dimensional array position referenced by a value determined by applying a hash function to a document identification number and a word identification number,
A method for searching an index which constitutes an index with document names associated with words contained in the documents by a plurality of subindexes, assigns document identification numbers and word identification numbers to document names and words, respectively, to uniquely identify them, and obtains a corresponding document name from a word serving as a key by using an index registered in a subindex in a two-dimensional array position referenced by a value determined by applying a hash function to a document identification number and a word identification number,
An apparatus for creating an index with keys and values associated, to search for a value from a specified key, comprising:
A storage medium storing a program for having a computer create an index with keys and values associated, to search for a value from a specified key, in a format readable from the computer for execution,
An index of a database in which sets of keys and values are registered,
Dependencies are inferred from the claim text.