Hi Team,
new ClusterHealthRequest(indexName).waitForYellowStatus(); whether this method will check for the particularindex health or it will check healthrequest of entire cluster.
Hi Team,
new ClusterHealthRequest(indexName).waitForYellowStatus(); whether this method will check for the particularindex health or it will check healthrequest of entire cluster.
Its depend on your API
https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-health.html
GET /_cluster/health/<index>?wait_for_status=yellow&timeout=50s
Its gives the index status in your cluster. If you don't mention the index like
GET /_cluster/health?wait_for_status=yellow&timeout=50s
Its gives the entire cluster status (all indexes will be considered)
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.