Patent Document ID: 8407200
Application ID: 13554869

Base Claim:
1. A computer-implemented method 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.

---

Claim 6:
6. The computer-implemented method of claim 1 , further comprising: storing a social graph having nodes corresponding to the objects and edges corresponding to relationships of the objects; wherein an affinity of the user for an object comprises a distance on the social graph between the user and the object.