Patent ID: 8812520

Claim:
A method, comprising: accessing, by a data processing apparatus, information representing resources selected in response to one or more search queries of one or more user sessions; accessing information indicative of one or more user session scores of the one or more user sessions; calculating, based on at least one of the one or more user session scores by the data processing apparatus, search query scores for the one or more search queries that are associated in the accessed information with the selected resources; wherein a search query score for a particular search query is based, at least in part, on a user session score for a user session that is associated with the particular search query; and ranking, by the data processing apparatus, one or more of the resources represented in the accessed information in response to a search query received by the data processing apparatus based, at least in part, on the calculated search query scores that are based on the at least one of the one or more user session scores.