1. A method comprising: receiving, by one or more devices, a query that includes one or more terms; searching, by the one or more devices, a dataset, using the one or more terms, to obtain search results; obtaining, by the one or more devices, a user-specified attribute identifier that identifies an attribute to be used in ranking the search results, the identified attribute being different from a measure of relevance of the search results to the query; calculating, by the one or more devices, a combined score for each search result, included in the search results, based on the attribute value and a value corresponding to the measure of relevance of the search result to the query; ranking, by the one or more devices, the search results based on the combined score calculated for each search result to form a first ranking of search results; dividing, by the one or more devices and based on a threshold value associated with the measure of relevance of the search results to the query, the first ranking of search results into subsets of ranked search results, the subsets of ranked search results including a first subset of ranked search results and a second subset of ranked search results; ranking, by the one or more devices, search results included in the first subset of ranked search results and search results included in the second subset of ranked search results based on the attribute value to form a second ranking of search results, each of the search results, included in the first subset of ranked search results, being ranked relative only to other ones of the search results included in the first subset of ranked search results, and each of the search results, included in the second subset of ranked search results, being ranked relative only to other ones of the search results included in the second subset of ranked search results; and providing, by the one or more devices, the second ranking of search results.