发明名称 Short-term hashes
摘要 In one embodiment, a server receives a search query; the server determines search terms based on the received search query, each search term including a prefix and a suffix; for each of the search term, the server generates a first binary number based on the each search term's prefix and suffix, and accesses and retrieves search results of the each search term from data stores by hashing the first binary number; the server also aggregates search results of the respective search terms.
申请公布号 US9171063(B2) 申请公布日期 2015.10.27
申请号 US201313799772 申请日期 2013.03.13
申请人 Facebook, Inc. 发明人 Bosman Tudor;Lassen Soren Bogh
分类号 G06F17/30 主分类号 G06F17/30
代理机构 Baker Botts L.L.P. 代理人 Baker Botts L.L.P.
主权项 1. A method comprising: by one or more computing devices, 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, the nodes comprising: a first node corresponding to a first user associated with an online social network; anda plurality of second nodes that each correspond to an object associated with the online social network, each object being of a particular object type; by one or more computing devices, receiving a search query from the first user; by one or more computing devices, determining one or more search terms based on the received search query, each search term comprising a prefix and a suffix, wherein each prefix corresponds to an edge type and an object type of the social graph, and wherein each suffix corresponds to a particular node of the plurality of nodes; by one or more computing devices, for each of the search terms: generating a first binary number based on the each search term's prefix and suffix; andaccessing and retrieving one or more search results of the each search term from one or more data stores by hashing the first binary number, wherein each search result corresponds to a node of the plurality of second nodes; and by one or more computing devices, aggregating search results of the respective search terms.
地址 Menlo Park CA US