14. A computer-readable storage medium having executable computer program instructions embodied therein, actions of the computer program instructions comprising: receiving a query associated with a user of a social networking system; performing a plurality of search algorithms using the query; obtaining a result set from each of the search algorithms, wherein each result set comprises a plurality of objects from an object store of the social networking system that match the query; aggregating the result sets from the search algorithms into a combined result set; ordering at least a plurality of the objects of the combined result set based at least in part on measures of affinities of the user for the objects, wherein an affinity of the user for an object comprises a physical distance between a geographic location associated with the user and a geographic location associated with the object; and providing at least a portion of the combined result set to a client device.
14. A computer-readable storage medium having executable computer program instructions embodied therein, actions of the computer program instructions comprising: receiving a query associated with a user of a social networking system; performing a plurality of search algorithms using the query; obtaining a result set from each of the search algorithms, wherein each result set comprises a plurality of objects from an object store of the social networking system that match the query; aggregating the result sets from the search algorithms into a combined result set; ordering at least a plurality of the objects of the combined result set based at least in part on measures of affinities of the user for the objects, wherein an affinity of the user for an object comprises a physical distance between a geographic location associated with the user and a geographic location associated with the object; and providing at least a portion of the combined result set to a client device. 16. The computer-readable storage medium of claim 14 , wherein the combined result set comprises a user object.