-
公开(公告)号:US10073874B1
公开(公告)日:2018-09-11
申请号:US14086536
申请日:2013-11-21
Applicant: GOOGLE INC.
Inventor: Muthian Sivathanu , Saurabh Goyal , Rajiv Mathews
CPC classification number: G06F16/2228 , G06F11/1402 , G06F16/31
Abstract: Implementations provide an indexing system with an instant failover that uses a moving snapshot window. For example, a method may include receiving, by a processor, a query and determining that a main query processing engine is not responding. The method may further include generating a search result for the query using a secondary query processing engine that applies at least one snapshot record to a portion of a posting list, the snapshot record including the portion of the posting list as it appeared before a modification, and the modification occurring within a predetermined time before receiving the query. The portion is a fixed size smaller than the posting list. Applying the snapshot record can include overlaying the portion of the posting list with the snapshot record beginning at an offset specified by the snapshot record. The main query processing engine generates a search result without applying snapshot records.
-
公开(公告)号:US10474650B1
公开(公告)日:2019-11-12
申请号:US14086527
申请日:2013-11-21
Applicant: GOOGLE INC.
Inventor: Muthian Sivathanu , Saurabh Goyal , Rajiv Mathews
IPC: G06F16/22 , G06F16/951 , G06F16/953
Abstract: Implementations provide an indexing system with near-instant updates to an inverted index while maintaining techniques for query optimization. The system may provision empty positions in posting lists to enable in-place updating, without having to rebuild the posting list or append updates to the end of the posting list. For example, a system comprises at least one processor and memory storing an index that includes at least one posting list that maps a term to a set of the documents. The posting list includes an ordered list of documents and has a plurality of open positions within the ordered list. The memory also stores instructions that, when executed by the at least one processor, cause the system to locate an open position of the plurality of open positions for a new document and to insert the new document into the at least one posting list using the open position.
-