1. A method, comprising: clustering a plurality of documents using one or more clustering algorithms to obtain one or more first sets of clusters, wherein: each first set of clusters results from clustering the documents using one of the clustering algorithms; and with respect to each first set of clusters, each of the documents belongs to one of the clusters from the first set of clusters; accessing a search query; identifying a search result in response to the search query, wherein the search result comprises two or more of the documents; and clustering the search result to obtain a second set of clusters, wherein each document of the search result belongs to one of the clusters from the second set of clusters, comprising: for each unique pair of documents of the search result, computing a similarity measure for the two documents with respect to the search query based on the first sets of clusters and a similarity algorithm; and clustering the documents of the search result based on the similarity measures.