From 2e3cc50a0f9bab96fa239f9a178837e4d2136c47 Mon Sep 17 00:00:00 2001 From: Colin Goodheart-Smithe Date: Wed, 23 Sep 2015 16:57:25 +0100 Subject: [PATCH] removed sysout --- .../org/elasticsearch/rest/action/search/RestSearchAction.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/core/src/main/java/org/elasticsearch/rest/action/search/RestSearchAction.java b/core/src/main/java/org/elasticsearch/rest/action/search/RestSearchAction.java index 091c71df786..3d8d37e8d9e 100644 --- a/core/src/main/java/org/elasticsearch/rest/action/search/RestSearchAction.java +++ b/core/src/main/java/org/elasticsearch/rest/action/search/RestSearchAction.java @@ -30,7 +30,6 @@ import org.elasticsearch.common.inject.Inject; import org.elasticsearch.common.settings.Settings; import org.elasticsearch.common.xcontent.XContentFactory; import org.elasticsearch.common.xcontent.XContentParser; -import org.elasticsearch.index.Index; import org.elasticsearch.index.query.QueryBuilder; import org.elasticsearch.index.query.QueryParseContext; import org.elasticsearch.index.query.TemplateQueryParser; @@ -42,7 +41,6 @@ import org.elasticsearch.rest.RestRequest; import org.elasticsearch.rest.action.exists.RestExistsAction; import org.elasticsearch.rest.action.support.RestActions; import org.elasticsearch.rest.action.support.RestStatusToXContentListener; -import org.elasticsearch.script.ScriptService; import org.elasticsearch.script.Template; import org.elasticsearch.search.Scroll; import org.elasticsearch.search.builder.SearchSourceBuilder; @@ -108,7 +106,6 @@ public class RestSearchAction extends BaseRestHandler { if (RestActions.hasBodyContent(request)) { BytesReference restContent = RestActions.getRestContent(request); QueryParseContext context = new QueryParseContext(indicesQueriesRegistry); - System.out.println(restContent.toUtf8()); if (isTemplateRequest) { try (XContentParser parser = XContentFactory.xContent(restContent).createParser(restContent)) { context.reset(parser);