1. A method for searching, the method comprising: receiving, by a computer system, a query; identifying, by the computer system, a plurality of documents relevant to the query; identifying, by the computer system, a plurality of departments associated with the plurality of documents; selecting, by the computer system, one or more selected departments from the plurality of departments according to confidence scores associated with the plurality of departments; adding, by the computer system, one or more additional departments to the one or more selected departments if the confidence scores of the one or more selected departments do not meet a threshold condition; and transmitting, by the computer system, a representation of the plurality of documents in accordance with the one or more selected departments; wherein adding, by the computer system, the one or more additional departments to the one or more selected departments if the confidence scores of the one or more selected departments do not meet a threshold condition further comprises: receiving a plurality of queries from a plurality of users; grouping the plurality of queries into a plurality of query clusters according to a textual similarity of the plurality of queries to one another based on the textual similarity, a similarity of search, and a co-occurrence within a same browsing session; for each cluster of the plurality of query clusters, identifying an associated department having search results for the plurality of queries of the each cluster belonging thereto with a highest click-through rate as compared to other departments having search results for the plurality of queries of the each cluster; identifying a selected query cluster of the plurality of query clusters corresponding to the query based on the textual similarity of the plurality of queries of the each cluster to the query; and adding the associated department of the selected query cluster to the one or more selected departments.