×

Method for indexing information of a database

  • US 5,745,899 A
  • Filed: 08/09/1996
  • Issued: 04/28/1998
  • Est. Priority Date: 08/09/1996
  • Status: Expired due to Term
First Claim
Patent Images

1. A computer implemented method for indexing information stored as a plurality of records in a database, each of the plurality of records having a record address in the database, comprising:

  • generating, for each record, a set of pairs, each pair including a word representing a portion of the information of the record and an associated location of the portion of the information, the locations of the words assigned sequentially such that the location of a first word of a next record sequentially follows the location of a last word of a previous record;

    identifying for each set of pairs common record attributes;

    generating for each identified common record attribute another pair including a record metaword representing the common record attribute and the location of the last word of the set of pairs, one of the common record attributes being the record address;

    identifying subsets of pairs of each record having common field attributes;

    generating, for each common field attribute, a first field metaword and a second field metaword representing the common field attributes; and

    assigning the location of the first word of the subset of pairs to the first field metaword, and assigning the location of the last word of the subset of pairs to the second field metaword;

    sequentially writing index entries to an index stored in a memory, there being one index entry for each unique word and for each unique metaword, the index entries written in a collation order of the words and metawords, each index entry including a particular unique word or a particular unique metaword written in a prefix notation, the prefix notation of the particular unique word or metaword immediately followed by a word terminator, the terminator immediately followed by all of the locations assigned to the particular unique word or metaword in a collating order of the locations, each location written as a delta value, and the last location of the index entry followed by a location terminator to fully populate the compressed data structure.

View all claims
  • 12 Assignments
Timeline View
Assignment View
    ×
    ×