From a4b89d380ca910575227449c6c8ba6440ed40a9e Mon Sep 17 00:00:00 2001 From: javanna Date: Tue, 27 Oct 2015 15:50:26 +0100 Subject: [PATCH] Remove filter and no_match_filter element support from indices query Use query and no_match_query elements instead. --- .../org/elasticsearch/index/query/IndicesQueryParser.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/main/java/org/elasticsearch/index/query/IndicesQueryParser.java b/core/src/main/java/org/elasticsearch/index/query/IndicesQueryParser.java index 674cad70872..416da97942e 100644 --- a/core/src/main/java/org/elasticsearch/index/query/IndicesQueryParser.java +++ b/core/src/main/java/org/elasticsearch/index/query/IndicesQueryParser.java @@ -32,8 +32,8 @@ import java.util.Collection; */ public class IndicesQueryParser implements QueryParser { - private static final ParseField QUERY_FIELD = new ParseField("query", "filter"); - private static final ParseField NO_MATCH_QUERY = new ParseField("no_match_query", "no_match_filter"); + private static final ParseField QUERY_FIELD = new ParseField("query"); + private static final ParseField NO_MATCH_QUERY = new ParseField("no_match_query"); @Override public String[] names() {