1. A method comprising, by a computing system: receiving, from a client device of a first user of an online social network, a search request comprising one or more terms inputted by the first user; generating, by the computing system, a plurality of queries based on the search request, wherein each query is associated with a particular object type of a plurality of object types and an associated weight; searching a plurality of verticals of the online social network corresponding to the plurality of queries, respectively, to identify from each vertical one or more objects matching the respective query, each vertical storing objects of the particular object type associated with the respective query, wherein: the objects stored in each vertical are ranked; and identifying the one or more objects from each vertical is based on the respective rankings of the one or more objects; aggregating the identified objects across the verticals, the number of identified objects aggregated from each vertical being proportional to the weight associated with the query corresponding to the vertical; and sending, to the client device of the first user, a search-results page responsive to the search request, the search-results page comprising a plurality of search results of a plurality of object types, wherein the plurality of search results are determined based on the aggregation, wherein, for each query of the plurality of queries, at least one search result corresponds to an identified object of the particular object type associated with the query, and wherein, for each vertical of the plurality of verticals, at least one search result corresponds to an object stored by the vertical.