×

Query result iteration

  • US 8,024,351 B2
  • Filed: 05/17/2010
  • Issued: 09/20/2011
  • Est. Priority Date: 06/08/2007
  • Status: Active Grant
First Claim
Patent Images

1. A machine-implemented method of restricting a query of an inverted index to a portion of the inverted index, the method comprising:

  • receiving a query against an inverted index, the inverted index having stored thereon postings lists of terms, a postings list being a linked list of one or more nodes, each of the one or more nodes representing one or more items containing a term;

    restricting the query to items represented in a subset of nodes, the subset of nodes having been processed in a previous update to the inverted index, wherein each item represented in the subset of nodes is not represented in any other node in the inverted index;

    returning a query result responsive to restricting the query to the items represented in the subset of nodes, the query result identifying those items represented in the subset of nodes containing the term that matches a search term corresponding to the query; and

    updating the query result, wherein updating comprises one or both of;

    determining that a delta postings list contains changes for the items to which the query has been restricted and updating the query result in accordance with the delta postings list, including removing from the query result identifications of those items no longer containing the matching search term and adding to the query result identifications of those items newly containing the matching search term; and

    determining that a live index contains postings lists for the term that matches the search term corresponding to the query, processing the query against the live index, and updating the query result in accordance with the live index query results.

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