# US 2022/0035555 A1 · Index Lifecycle Management

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2022/0035555 A1
- Document ID: US20220035555A1
- Status: Published application
- Kind: A1
- Application number: 17/505,382
- Filed: 2021-10-19
- Published: 2022-02-03
- Earliest claimed: 2019-05-02
- Assignees: Elasticsearch B.V.
- Applicants: Elasticsearch B.V.
- Inventors: Boaz Leskes
- Web page: https://patentgrep.com/patent/US20220035555A1

## CPC

- G06F 3/0649: {Lifecycle management}
- G06F 16/31: Indexing; Data structures therefor; Storage structures
- G06F 3/061: {Improving I/O performance}
- G06F 3/0614: {Improving the reliability of storage systems}
- G06F 3/067: {Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]}
- G06F 16/22: Indexing; Data structures therefor; Storage structures
- G06F 16/2358: {Change logging, detection, and notification (replication G06F16/27)}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Methods and systems for index lifecycle management are provided. Exemplary methods include: receiving an ILM policy; determining a first condition and a first action for a first phase using the ILM policy; performing the first action for the first phase when the first condition is met; transition from the first phase to a second phase; determining a second condition and a second action for the second phase using the ILM policy; performing the second action for the second phase when the second condition is met; transition from the second phase to a third phase; determining a third condition and a third action for the third phase using the ILM policy; performing the third action for the third phase when the third condition is met; transition from the third phase to a fourth phase; and deleting the index during the third phase.

## Claims

### Claim 1

A computer-implemented method for integrated lifecycle management (ILM), the method comprising:
receiving an ILM policy for an index;
determining a first condition and a first action for a first phase using the ILM policy;
performing the first action for the first phase when the first condition is met;
successively transitioning the index from the first phase to one or more further phases;
at each of the one or more further phases, determining a further condition and a further action for one of the one or more further phases using the ILM policy;
performing the further action for the one of the one or more further phases when the further condition is met;
transitioning the index from the one of the one or more further phases to a last phase; and
deleting the index during the last phase.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein the first condition and the further condition are at least one of: when the index exceeds a particular age, and when the index exceeds a particular size.

### Claim 3 (depends on 2)

The computer-implemented method of claim 2, wherein a default age is 30 days and a default size is 50 GB.

### Claim 4 (depends on 2)

The computer-implemented method of claim 2, wherein the first action includes at least one of: set priority, rollover, and unfollow.

### Claim 5 (depends on 4)

The computer-implemented method of claim 4, wherein the one or more further phases include a second phase and a third phase, wherein the further action includes a second action associated with the second phase and a third action associated with the third phase, wherein:
the second action includes at least one of: set priority, allocate, read-only, force merge, shrink, and unfollow; and
the third action includes at least one of: set priority, allocate, freeze, and unfollow.

### Claim 6 (depends on 5)

The computer-implemented method of claim 5, wherein the ILM policy is in JavaScript Object Notation.

### Claim 7 (depends on 5)

The computer-implemented method of claim 5, wherein:
in the first phase the index is being updated and is searched;
in the second phase the index is no longer being updated and is searched; and
in the third phase the index is no longer being updated and is seldom queried.

### Claim 8 (depends on 5)

The computer-implemented method of claim 5, wherein:
the further action for the third phase is a shrink action;
the shrink action creates a copy index from the index; and
an index name of the copy index includes a predetermined prefix added to a front of an index name of the index.

### Claim 9 (depends on 1)

The computer-implemented method of claim 1, wherein:
the index is in a leader cluster being replicated in a follower cluster using cross-cluster replication; and
shards of the index in the leader cluster include a history retention lease, the history retention lease denoting operations to be saved for the follower cluster to execute.

### Claim 10 (depends on 9)

The computer-implemented method of claim 9, wherein shards of the index in the leader cluster include a marker when the index in the leader cluster is rolled over.

### Claim 11

A system for integrated lifecycle management (ILM), the system comprising:
a processor configured to:
receive an ILM policy for an index;
determine a first condition and a first action for a first phase using the ILM policy;
perform the first action for the first phase when the first condition is met;
successively transition the index from the first phase to one or more further phases;
at each of the one or more further phases, determine a further condition and a further action for one of the one or more further phases using the ILM policy;
perform the further action for the one of the one or more further phases when the further condition is met;
transition the index from the one of the one or more further phases to a last phase; and
delete the index during the last phase; and
a memory communicatively coupled to the processor, the memory storing instructions executable by the processor.

### Claim 12 (depends on 11)

The system of claim 11, wherein the condition and the further condition are at least one of: when the index exceeds a particular age, and when the index exceeds a particular size.

### Claim 13 (depends on 12)

The system of claim 12, wherein a default age is 30 days and a default size is 50 GB.

### Claim 14 (depends on 12)

The system of claim 12, wherein the first action includes at least one of: set priority, rollover, and unfollow.

### Claim 15 (depends on 14)

The system of claim 14, wherein the one or more further phases include a second phase and a third phase, wherein the further action includes a second action associated with the second phase and a third action associated with the third phase, wherein:
the second action includes at least one of: set priority, allocate, read-only, force merge, shrink, and unfollow; and
the third action includes at least one of: set priority, allocate, freeze, and unfollow.

### Claim 16 (depends on 15)

The system of claim 15, wherein the ILM policy is in JavaScript Object Notation.

### Claim 17 (depends on 15)

The system of claim 15, wherein:
in the first phase the index is being updated and is searched;
in the second phase the index is no longer being updated and is searched; and
in the third phase the index is no longer being updated and is seldom queried.

### Claim 18 (depends on 15)

The system of claim 15, wherein:
the further action for the third phase is a shrink action;
the shrink action creates a copy index from the index; and
an index name of the copy index includes a predetermined prefix added to a front of an index name of the index.

### Claim 19 (depends on 11)

The system of claim 11, wherein:
the index is in a leader cluster being replicated in a follower cluster using cross-cluster replication;
shards of the index in the leader cluster include a history retention lease, the history retention lease denoting operations to be saved for the follower cluster to execute; and
the shards of the index in the leader cluster further include a marker when the index in the leader cluster is rolled over.

### Claim 20

A non-transitory computer-readable storage medium having embodied thereon instructions, which when executed by at least one processor, perform steps of a method comprising:
receiving an ILM policy for an index;
determining a first condition and a first action for a first phase using the ILM policy;
performing the first action for the first phase when the first condition is met;
successively transitioning the index from the first phase to one or more further phases;
at each of the one or more further phases, determining a further condition and a further action for one of the one or more further phases;
performing the further action for the one of the one or more further phases when the further condition is met;
transitioning the index from the one of the one or more further phases to a fourth last; and
deleting the index during the last phase.
