From e7fdf16402d023abacb9ec47ff1f17ea14810e7f Mon Sep 17 00:00:00 2001 From: kimchy Date: Thu, 28 Oct 2010 00:39:53 +0200 Subject: [PATCH] add number of data nodes to cluster health --- .../admin/cluster/health/ClusterHealthResponse.java | 12 ++++++++++++ .../cluster/health/TransportClusterHealthAction.java | 1 + .../cluster/health/RestClusterHealthAction.java | 2 ++ 3 files changed, 15 insertions(+) diff --git a/modules/elasticsearch/src/main/java/org/elasticsearch/action/admin/cluster/health/ClusterHealthResponse.java b/modules/elasticsearch/src/main/java/org/elasticsearch/action/admin/cluster/health/ClusterHealthResponse.java index 88251fb15a5..636de3bac20 100644 --- a/modules/elasticsearch/src/main/java/org/elasticsearch/action/admin/cluster/health/ClusterHealthResponse.java +++ b/modules/elasticsearch/src/main/java/org/elasticsearch/action/admin/cluster/health/ClusterHealthResponse.java @@ -42,6 +42,8 @@ public class ClusterHealthResponse implements ActionResponse, Iterabletrue if the waitForXXX has timeout out and did not match. */ @@ -196,6 +206,7 @@ public class ClusterHealthResponse implements ActionResponse, Iterable