Docs: Cluster allocation explain should be on one page

This commit is contained in:
Clinton Gormley 2017-01-26 11:38:19 +01:00
parent 281250dec9
commit f5a0d18c4c
1 changed files with 2 additions and 0 deletions

View File

@ -10,6 +10,7 @@ another node. This API can be very useful when attempting to diagnose why
a shard is unassigned or why a shard continues to remain on its current node
when you might expect otherwise.
[float]
=== Explain API Request
To explain the allocation of a shard, issue a request:
@ -51,6 +52,7 @@ shard that it finds by sending an empty body for the request:
$ curl -XGET 'http://localhost:9200/_cluster/allocation/explain'
--------------------------------------------------
[float]
=== Explain API Response
This section includes examples of the cluster allocation explain API response output