Class SwapAliasesAndDeleteSourceIndexStep

java.lang.Object
org.elasticsearch.xpack.core.ilm.Step
org.elasticsearch.xpack.core.ilm.AsyncActionStep
org.elasticsearch.xpack.core.ilm.SwapAliasesAndDeleteSourceIndexStep

public class SwapAliasesAndDeleteSourceIndexStep extends AsyncActionStep
This step swaps all the aliases from the source index to the restored index and deletes the source index. This is useful in scenarios following a restore from snapshot operation where the restored index will take the place of the source index in the ILM lifecycle.