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.