Methods and systems for backing up a search index
First Claim
Patent Images
1. A method for generating a secondary search index while a primary search index is being used for indexing or querying, the method comprising:
- creating, with one or more processors of a computing environment, the secondary search index as a staged copy of the primary search index by suspending indexing for a period of time long enough to make a temporary copy of the primary search index to a staging location;
segmenting, with the one or more processors of the computing environment, the staged copy of the primary search index, wherein the secondary search index has multiple segments that are handled asynchronously through a message queue, wherein each segment is a readable index that contains only a subset of the primary search index;
storing the segments in a pre-selected memory location of the computing environment sequentially;
copying the segments to a storage device with an asynchronous message queuing structure;
performing, with the one or more processors of the computing environment, additional indexing to the secondary search index based on information from one or more replay logs corresponding to one or more tenants in a multitenant environment to keep the indexes up to date within a pre-selected amount of time, wherein the one or more replay logs tracks activity that occurs after index backup is initiated; and
maintaining the secondary search index within a pre-selected threshold of current utilizing the replay logs.
1 Assignment
0 Petitions
Accused Products
Abstract
An index to be backed up in a computing environment is identified. A staged copy of the index to be backed up is created. The staged copy of the index is segmented. The segments are uploaded to a pre-selected location.
153 Citations
18 Claims
-
1. A method for generating a secondary search index while a primary search index is being used for indexing or querying, the method comprising:
-
creating, with one or more processors of a computing environment, the secondary search index as a staged copy of the primary search index by suspending indexing for a period of time long enough to make a temporary copy of the primary search index to a staging location; segmenting, with the one or more processors of the computing environment, the staged copy of the primary search index, wherein the secondary search index has multiple segments that are handled asynchronously through a message queue, wherein each segment is a readable index that contains only a subset of the primary search index; storing the segments in a pre-selected memory location of the computing environment sequentially; copying the segments to a storage device with an asynchronous message queuing structure; performing, with the one or more processors of the computing environment, additional indexing to the secondary search index based on information from one or more replay logs corresponding to one or more tenants in a multitenant environment to keep the indexes up to date within a pre-selected amount of time, wherein the one or more replay logs tracks activity that occurs after index backup is initiated; and maintaining the secondary search index within a pre-selected threshold of current utilizing the replay logs. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. An article of manufacture comprising a non-transitory computer-readable medium having stored thereon instructions capable of, when executed by one or more processors, cause a computer to:
-
create, with one or more processors of a computing environment, the secondary search index as a staged copy of the primary search index by suspending indexing for a period of time long enough to make a temporary copy of the primary search index to a staging location; segment, with the one or more processors of the computing environment, the staged copy of the primary search index, wherein the secondary search index has multiple segments that are handled asynchronously through a message queue, wherein each segment is a readable index that contains only a subset of the primary search index; store the segments in a pre-selected memory location of the computing environment sequentially; copy the segments to a storage device with an asynchronous message queuing structure; perform, with the one or more processors of the computing environment, additional indexing to the secondary search index based on information from one or more replay logs corresponding to one or more tenants in a multitenant environment to keep the indexes up to date within a pre-selected amount of time, wherein the one or more replay logs tracks activity that occurs after index backup is initiated; and maintain the secondary search index within a pre-selected threshold of current utilizing the replay logs. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A system comprising:
-
one or more user electronic systems; a server electronic system communicatively coupled with the one or more user systems via a network, the server system to create, with one or more processors of a computing environment, the secondary search index as a staged copy of the primary search index by suspending indexing for a period of time long enough to make a temporary copy of the primary search index to a staging location, to segment, with the one or more processors of the computing environment, the staged copy of the primary search index, wherein the secondary search index has multiple segments that are handled asynchronously through a message queue, wherein each segment is a readable index that contains only a subset of the primary search index, to store the segments in a pre-selected memory location of the computing environment sequentially, to copy the segments to a storage device with an asynchronous message queuing structure, to perform, with the one or more processors of the computing environment, additional indexing to the secondary search index based on information from one or more replay logs corresponding to one or more tenants in a multitenant environment to keep the indexes up to date within a pre-selected amount of time, wherein the one or more replay logs tracks activity that occurs after index backup is initiated, and to maintain the secondary search index within a pre-selected threshold of current utilizing the replay logs. - View Dependent Claims (14, 15, 16, 17, 18)
-
Specification