Cluster allocation explain

    FieldTypeDescription
    current_nodeStringIf you only want an explanation if the shard happens to be on a particular node, specify that node name here.
    indexStringThe name of the shard’s index.
    primaryBooleanWhether to provide an explanation for the primary shard (true) or its first replica (false), which share the same shard ID.
    shardIntegerThe shard ID that you want an explanation for.