From bf36681e340f805e5b771f0696799b292d6075a0 Mon Sep 17 00:00:00 2001 From: Shay Banon Date: Fri, 17 Feb 2012 15:20:20 +0200 Subject: [PATCH] Return 503 for search against a node which is not yet ready, closes #1713. --- .../action/search/type/TransportSearchTypeAction.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/org/elasticsearch/action/search/type/TransportSearchTypeAction.java b/src/main/java/org/elasticsearch/action/search/type/TransportSearchTypeAction.java index 53f77710399..bf08802f370 100644 --- a/src/main/java/org/elasticsearch/action/search/type/TransportSearchTypeAction.java +++ b/src/main/java/org/elasticsearch/action/search/type/TransportSearchTypeAction.java @@ -105,6 +105,8 @@ public abstract class TransportSearchTypeAction extends TransportAction