摘要 |
In one embodiment, a method includes accessing a social graph comprising nodes and a edges connecting the nodes, receiving from a first user a query inputted at a search client, the search client being associated with context data from a page associated with the search client, such that the context data identifies one or more nodes associated with the page, generating search results corresponding to the query, wherein each of the search results corresponds to a node, and scoring the search results based at least in part on the context data associated with the search client. The context data may identify a social context of the page, which can include tags, comments, likes, commenters, and the like. |
主权项 |
1. A method comprising, by a computing device:
accessing a social graph comprising a plurality of nodes and a plurality of edges connecting the nodes, each of the edges between two of the nodes representing a single degree of separation between them; receiving from a first user a query inputted by the first user at a search client, the search client being associated with context data from a page associated with the search client, wherein the context data identifies one or more second nodes of a plurality of second nodes associated with the page; generating one or more search results corresponding to the query, wherein each of the search results corresponds to a node of the plurality of nodes; and scoring each of the search results based at least in part on the context data associated with the search client. |