1. A method comprising: receiving, at an indexer, a set of search affinity identifiers; wherein each search affinity identifier of the set of search affinity identifiers indicates, for a particular subset of data accessible to the indexer and for a particular site of a plurality of sites from which a query may originate, whether the indexer has primary responsibility for responding to queries originating from the particular site based on data from the particular subset of data; wherein each site of the plurality of sites represents a user-specified grouping of one or more computing resources corresponding to a particular geographic location; receiving, from a first search head located at a first site, (i) a first query to search a subset of data accessible to the indexer, and (ii) a first site identifier identifying the first site at which the first search head is located; determining, based on both the first site identifier and a particular search affinity identifier of the set of search affinity identifiers, that the indexer is to respond to the first query with a result from searching the subset of data; in response to determining that the indexer is to respond to the first query, sending, to the first search head, the result from searching the subset of data.