Patent ID: 8756212

Claim:
A method, comprising: providing, by operation of a computer system, a first document from a web site to a user, wherein the first document includes a plurality of terms; automatically, by operation of the computer system, generating a search query from terms included in the first document, wherein the search query includes multiple terms from the first document, and wherein generating the search query comprises: determining a respective first ratio for each of the multiple terms in the search query from a number of occurrences of the term in the first document and a total number of term occurrences in the first document, determining a respective second ratio for each of the multiple terms in the search query from a number of occurrences of the term in the web site and a total number of term occurrences in the web site, computing a respective weight for each of the multiple terms from the first ratio for the term and the second ratio for the term, and assigning the respective weight for each of the multiple terms in the search query to the term; using the search query to determine a respective score for each of a plurality of documents in the web site, wherein the respective score for each document is based upon occurrences in the document of terms in the search query and on the respective weights assigned to the terms in the search query; and identifying a set of documents from the plurality of documents in the web site based on the respective scores.