×

Efficient forward ranking in a search engine

  • US 10,437,892 B2
  • Filed: 07/08/2014
  • Issued: 10/08/2019
  • Est. Priority Date: 11/22/2010
  • Status: Active Grant
First Claim
Patent Images

1. A computer-implemented method for using a forward index to extract information for ranking documents based on a search query, the method comprising:

  • receiving a search query;

    parsing the search query to identify one or more atoms;

    creating a token map of query tokens using the one or more atoms parsed from the search query;

    for a first document, identifying, in a first entry of a forward index, document tokens in a token stream corresponding to the first document that match the query tokens in the token map;

    for the document tokens that match the query tokens based on the one or more atoms, updating a token position data structure, wherein the token position data structure includes token positions in the token stream corresponding to the first document of each of the document tokens that match the query tokens, wherein the token position data structure stores the token positions in the token stream in association with the one or more atoms in the search query;

    accessing the updated token position data structure to extract ranking information from the first entry of the forward index, wherein the ranking information is extracted from the first entry of the forward index via the updated token position data structure based on the token positions in the token stream; and

    executing ranking calculations for documents associated with the search query based on the ranking information extracted from the forward index via the updated token position data structure.

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