primary
When
true, returns a routing explanation for the primary shard based on the node ID.
API name: primary
JsonpSerializable, PlainJsonSerializable, ToCopyableBuilder<AllocationExplainRequest.Builder,AllocationExplainRequest> RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>static final JsonpDeserializer<AllocationExplainRequest> AllocationExplainRequestcluster.allocation_explain".protected voidapplyQueryParameters(Map<String,String> params) builder()final StringbooleaninthashCode()final Booleantrue, returns information about disk usage and shard sizes.final Booleantrue, returns any YES decisions in the allocation explanation.final Stringindex()indexstatic AllocationExplainRequestfinal Booleanprimary()true, returns a routing explanation for the primary shard based on the node ID.voidserialize(jakarta.json.stream.JsonGenerator generator,
JsonpMapper mapper) protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator,
JsonpMapper mapper) protected static voidfinal Integershard()ToCopyableBuilder that is initialised with the current state of this object.errorTrace, humanclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waittoJsonStringcopyAllocationExplainRequestcluster.allocation_explain".
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
serialize in interface JsonpSerializableToCopyableBuilderToCopyableBuilder that is initialised with the current state of this object.toBuilder in interface ToCopyableBuilder<AllocationExplainRequest.Builder,AllocationExplainRequest> applyQueryParameters in class RequestBase