From b2597b53163e16d748d364b13cf3a73177c10758 Mon Sep 17 00:00:00 2001 From: David Pilato Date: Sat, 6 Oct 2012 09:49:46 +0200 Subject: [PATCH] Add a toString() method to MultiSearchResponse --- .../action/search/MultiSearchResponse.java | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/main/java/org/elasticsearch/action/search/MultiSearchResponse.java b/src/main/java/org/elasticsearch/action/search/MultiSearchResponse.java index bdc3e5aeb1a..94f5a3693be 100644 --- a/src/main/java/org/elasticsearch/action/search/MultiSearchResponse.java +++ b/src/main/java/org/elasticsearch/action/search/MultiSearchResponse.java @@ -9,6 +9,7 @@ import org.elasticsearch.common.io.stream.Streamable; import org.elasticsearch.common.xcontent.ToXContent; import org.elasticsearch.common.xcontent.XContentBuilder; import org.elasticsearch.common.xcontent.XContentBuilderString; +import org.elasticsearch.common.xcontent.XContentFactory; import java.io.IOException; import java.util.Iterator; @@ -168,4 +169,17 @@ public class MultiSearchResponse extends ActionResponse implements Iterable