Searching for posts by related entities on online social networks
First Claim
1. A method comprising, by one or more computing devices:
- receiving, from a client system of a first user of an online social network, a text query comprising one or more n-grams inputted by the first user;
identifying one or more primary entities matching one or more n-grams of the received text query;
identifying, for each of the identified primary entities, one or more related entities based on one or more related-entity indexes associated with the primary entity, wherein each related-entity index maps from identification information of the primary entity to identification information of related entities to the primary entity;
accessing, for each identified related entity, one or more posts authored by the identified related entity, each accessed post matching all of the n-grams of the received text query;
calculating a score for each of the accessed posts based at least in part on a number of social signals associated with the post and the related entity authoring the post; and
sending, to the client system of the first user for display in response to the first user inputting the one or more n-grams of the text query, one or more search results corresponding to one or more of the accessed posts having scores higher than a threshold score, respectively.
2 Assignments
0 Petitions
Accused Products
Abstract
In one embodiment, a method includes receiving a text query comprising one or more n-grams inputted by a first user, identifying one or more primary entities matching one or more n-grams of the received text query, and identifying, for each of the identified primary entities, one or more related entities based on one or more related-entity indexes associated with the primary entity. The method also includes accessing, for each identified related entity, one or more posts authored by the identified related entity, each accessed post matching all of the n-grams of the received text query, calculating a score for each of the accessed posts, and sending to the first user one or more search results corresponding to one or more of the accessed posts having scores higher than a threshold score, respectively.
-
Citations
20 Claims
-
1. A method comprising, by one or more computing devices:
-
receiving, from a client system of a first user of an online social network, a text query comprising one or more n-grams inputted by the first user; identifying one or more primary entities matching one or more n-grams of the received text query; identifying, for each of the identified primary entities, one or more related entities based on one or more related-entity indexes associated with the primary entity, wherein each related-entity index maps from identification information of the primary entity to identification information of related entities to the primary entity; accessing, for each identified related entity, one or more posts authored by the identified related entity, each accessed post matching all of the n-grams of the received text query; calculating a score for each of the accessed posts based at least in part on a number of social signals associated with the post and the related entity authoring the post; and sending, to the client system of the first user for display in response to the first user inputting the one or more n-grams of the text query, one or more search results corresponding to one or more of the accessed posts having scores higher than a threshold score, respectively. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18)
-
-
19. One or more computer-readable non-transitory storage media embodying software that is operable when executed to:
-
receive, from a client system of a first user of an online social network, a text query comprising one or more n-grams inputted by the first user; identify one or more primary entities matching one or more n-grams of the received text query; identify, for each of the identified primary entities, one or more related entities based on one or more related-entity indexes associated with the primary entity, wherein each related-entity index maps from identification information of the primary entity to identification information of related entities to the primary entity; access, for each identified related entity, one or more posts authored by the identified related entity, each accessed post matching all of the n-grams of the received text query; calculate a score for each of the accessed posts based at least in part on a number of social signals associated with the post and the related entity authoring the post; and send, to the client system of the first user for display in response to the first user inputting the one or more n-grams of the text query, one or more search results corresponding to one or more of the accessed posts having scores higher than a threshold score, respectively.
-
-
20. A system comprising:
-
one or more processors; and a non-transitory memory coupled to the processors comprising instructions executable by the processors, the processors operable when executing the instructions to; receive, from a client system of a first user of an online social network, a text query comprising one or more n-grams inputted by the first user; identify one or more primary entities matching one or more n-grams of the received text query; identify, for each of the identified primary entities, one or more related entities based on one or more related-entity indexes associated with the primary entity, wherein each related-entity index maps from identification information of the primary entity to identification information of related entities to the primary entity; access, for each identified related entity, one or more posts authored by the identified related entity, each accessed post matching all of the n-grams of the received text query; calculate a score for each of the accessed posts based at least in part on a number of social signals associated with the post and the related entity authoring the post; and send, to the client system of the first user for display in response to the first user inputting the one or more n-grams of the text query, one or more search results corresponding to one or more of the accessed posts having scores higher than a threshold score, respectively.
-
Specification