11. A non-transitory computer-readable storage medium storing instructions, the instructions comprising: one or more instructions which, when executed by one or more processors, cause the one or more processors to: receive a query that includes one or more terms; identify, using the one or more terms, search results; determine an attribute identifier that identifies an attribute to be used in ranking the search results, the attribute being different from a measure of relevance of the search results to the query; calculate a combined score for each search result, included in the search results, based on the measure of relevance of the search result to the query and the attribute; rank the search results based on the combined score calculated for each search result to obtain first ranked search results; divide, based on a threshold measure of relevancy, the first ranked search results into a first subset of the first ranked search results and a second subset of the first ranked search results; rank search results included in the first subset of the ranked search results and search results included in the second subset of the ranked search results based on the attribute to obtain second ranked search results, each of the search results included in the first subset of the ranked search results being ranked relative only to other ones of the search results included in the first subset of the ranked search results, and each of the search results included in the second subset of the ranked search results being ranked relative only to other ones of the search results included in the second subset of the ranked search results; and provide the second ranked search results.
11. A non-transitory computer-readable storage medium storing instructions, the instructions comprising: one or more instructions which, when executed by one or more processors, cause the one or more processors to: receive a query that includes one or more terms; identify, using the one or more terms, search results; determine an attribute identifier that identifies an attribute to be used in ranking the search results, the attribute being different from a measure of relevance of the search results to the query; calculate a combined score for each search result, included in the search results, based on the measure of relevance of the search result to the query and the attribute; rank the search results based on the combined score calculated for each search result to obtain first ranked search results; divide, based on a threshold measure of relevancy, the first ranked search results into a first subset of the first ranked search results and a second subset of the first ranked search results; rank search results included in the first subset of the ranked search results and search results included in the second subset of the ranked search results based on the attribute to obtain second ranked search results, each of the search results included in the first subset of the ranked search results being ranked relative only to other ones of the search results included in the first subset of the ranked search results, and each of the search results included in the second subset of the ranked search results being ranked relative only to other ones of the search results included in the second subset of the ranked search results; and provide the second ranked search results. 12. The non-transitory computer-readable storage medium of claim 11 , wherein the one or more instructions to calculate the combined score for each search result include: one or more instructions to calculate the combined score for each search result based on a value for the attribute and a value corresponding to the measure of relevance of the search result to the query.