1. A method comprising: receiving, by one or more computing devices, an ordered result set, the ordered result set including a plurality of individual search results of a search query, the individual search results having a presentation order from lower positions to higher positions, wherein a lower position is a position that is earlier in the result set; for each of the plurality of individual search results, determining, by at least one of the one or more computing devices, an individual result category and a corresponding individual result score based on content in the individual search result, wherein individual result score is a score that corresponds to the individual result category determined for the individual search result; applying, by at least one of the one or more computing devices, a weighting function to the individual result score of each individual search result, the weighting function using a position of the individual search result in the result set as a parameter, wherein a value of the function decreases if the position increases; determining, by at least one of the one or more computing devices, a result category and a result score for the search query using the individual result categories and corresponding individual weighted result scores; and storing, by at least one of the one or more computing devices, the result category and the result score.
1. A method comprising: receiving, by one or more computing devices, an ordered result set, the ordered result set including a plurality of individual search results of a search query, the individual search results having a presentation order from lower positions to higher positions, wherein a lower position is a position that is earlier in the result set; for each of the plurality of individual search results, determining, by at least one of the one or more computing devices, an individual result category and a corresponding individual result score based on content in the individual search result, wherein individual result score is a score that corresponds to the individual result category determined for the individual search result; applying, by at least one of the one or more computing devices, a weighting function to the individual result score of each individual search result, the weighting function using a position of the individual search result in the result set as a parameter, wherein a value of the function decreases if the position increases; determining, by at least one of the one or more computing devices, a result category and a result score for the search query using the individual result categories and corresponding individual weighted result scores; and storing, by at least one of the one or more computing devices, the result category and the result score. 7. The method of claim 1 , further comprising: determining, for each individual result category, the corresponding individual result score using a quantity of phrases in the content of the search result that relate to the individual result category and a total quantity of phrases in the content of the search result.