primary
When
true, returns a routing explanation for the primary shard based on the node ID.
API name: primary
CopyableBuilder<AllocationExplainRequest.Builder,AllocationExplainRequest> , MutableBuilder<AllocationExplainRequest.Builder,AllocationExplainRequest> , ObjectBuilder<AllocationExplainRequest>AllocationExplainRequestAllocationExplainRequest.build()AllocationExplainRequest.copy()CopyableBuilder that is a copy of this one.currentNode(String value) includeDiskInfo(Boolean value) true, returns information about disk usage and shard sizes.includeYesDecisions(Boolean value) true, returns any YES decisions in the allocation explanation.indextrue, returns a routing explanation for the primary shard based on the node ID.protected AllocationExplainRequest.Builderself()errorTrace, human_checkSingleUse, _listAdd, _listAddAll, _listCopy, _mapCopy, _mapPut, _mapPutAllclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapplyMutationCopyableBuilderCopyableBuilder that is a copy of this one.copy in interface CopyableBuilder<AllocationExplainRequest.Builder,AllocationExplainRequest> self in class RequestBase.AbstractBuilder<AllocationExplainRequest.Builder>
API name: current_node
true, returns information about disk usage and shard sizes.
API name: include_disk_info
true, returns any YES decisions in the allocation explanation. YES decisions indicate
when a particular shard allocation attempt was successful for the given node.
API name: include_yes_decisions
indextrue, returns a routing explanation for the primary shard based on the node ID.
API name: primary
API name: shard
AllocationExplainRequest.build in interface ObjectBuilder<AllocationExplainRequest>NullPointerException - if some of the required fields are null.