mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-25 09:28:27 +00:00
Update Java API doc for cluster health
In 995e4eda08be99f72ef56052b3f78ceef9100885 we changed the cluster health Java API. We need to also change the documentation. Backport of #19093 in master branch
This commit is contained in:
parent
18d45b2d5c
commit
b9e8ec1938
@ -14,7 +14,7 @@ String clusterName = healths.getClusterName(); <2>
|
||||
int numberOfDataNodes = healths.getNumberOfDataNodes(); <3>
|
||||
int numberOfNodes = healths.getNumberOfNodes(); <4>
|
||||
|
||||
for (ClusterIndexHealth health : healths) { <5>
|
||||
for (ClusterIndexHealth health : healths.getIndices().values()) { <5>
|
||||
String index = health.getIndex(); <6>
|
||||
int numberOfShards = health.getNumberOfShards(); <7>
|
||||
int numberOfReplicas = health.getNumberOfReplicas(); <8>
|
||||
|
Loading…
x
Reference in New Issue
Block a user