Class Summary Class Description AbstractAllocateAllocationCommandAbstract base class for allocating an unassigned shard to a node AbstractAllocateAllocationCommand.Builder<T extends AbstractAllocateAllocationCommand>Works around ObjectParser not supporting constructor arguments. AllocateEmptyPrimaryAllocationCommandAllocates an unassigned empty primary shard to a specific node. AllocateEmptyPrimaryAllocationCommand.Builder AllocateReplicaAllocationCommandAllocates an unassigned replica shard to a specific node. AllocateReplicaAllocationCommand.Builder AllocateStalePrimaryAllocationCommandAllocates an unassigned stale primary shard to a specific node. AllocateStalePrimaryAllocationCommand.Builder AllocationCommands BasePrimaryAllocationCommandAbstract base class for allocating an unassigned primary shard to a node BasePrimaryAllocationCommand.Builder<T extends BasePrimaryAllocationCommand> CancelAllocationCommandA command that cancels relocation, or recovery of a given shard on a node. MoveAllocationCommandA command that moves a shard from a specific node to another node.
Note: The shard needs to be in the state
ShardRoutingState.STARTEDin order to be moved.