Uses of Package
org.elasticsearch.cluster.routing.allocation.command
-
Classes in org.elasticsearch.cluster.routing.allocation.command used by org.elasticsearch.action.admin.cluster.reroute Class Description AllocationCommand A command to move shards in some way.AllocationCommands A simpleAllocationCommandcomposite managing severalAllocationCommandimplementations -
Classes in org.elasticsearch.cluster.routing.allocation.command used by org.elasticsearch.cluster.routing.allocation Class Description AllocationCommand A command to move shards in some way.AllocationCommands A simpleAllocationCommandcomposite managing severalAllocationCommandimplementations -
Classes in org.elasticsearch.cluster.routing.allocation.command used by org.elasticsearch.cluster.routing.allocation.command Class Description AbstractAllocateAllocationCommand Abstract base class for allocating an unassigned shard to a nodeAbstractAllocateAllocationCommand.Builder Works around ObjectParser not supporting constructor arguments.AllocateEmptyPrimaryAllocationCommand Allocates an unassigned empty primary shard to a specific node.AllocateEmptyPrimaryAllocationCommand.Builder AllocateReplicaAllocationCommand Allocates an unassigned replica shard to a specific node.AllocateReplicaAllocationCommand.Builder AllocateStalePrimaryAllocationCommand Allocates an unassigned stale primary shard to a specific node.AllocateStalePrimaryAllocationCommand.Builder AllocationCommand A command to move shards in some way.AllocationCommands A simpleAllocationCommandcomposite managing severalAllocationCommandimplementationsBasePrimaryAllocationCommand Abstract base class for allocating an unassigned primary shard to a nodeBasePrimaryAllocationCommand.Builder CancelAllocationCommand A command that cancels relocation, or recovery of a given shard on a node.MoveAllocationCommand A command that moves a shard from a specific node to another node.
Note: The shard needs to be in the stateShardRoutingState.STARTEDin order to be moved.