From acfb3196f448ce50266bca169ba70c8d577802b1 Mon Sep 17 00:00:00 2001 From: Shaunak Kashyap Date: Thu, 11 Jun 2015 06:03:09 -0700 Subject: [PATCH] Removing top-level filter parameter from search API --- .../src/main/java/org/elasticsearch/search/query/QueryPhase.java | 1 - 1 file changed, 1 deletion(-) diff --git a/core/src/main/java/org/elasticsearch/search/query/QueryPhase.java b/core/src/main/java/org/elasticsearch/search/query/QueryPhase.java index 00157061803..da1b3248e75 100644 --- a/core/src/main/java/org/elasticsearch/search/query/QueryPhase.java +++ b/core/src/main/java/org/elasticsearch/search/query/QueryPhase.java @@ -65,7 +65,6 @@ public class QueryPhase implements SearchPhase { .put("query", new QueryParseElement()) .put("queryBinary", new QueryBinaryParseElement()) .put("query_binary", new QueryBinaryParseElement()) - .put("filter", new PostFilterParseElement()) // For bw comp reason, should be removed in version 1.1 .put("post_filter", new PostFilterParseElement()) .put("postFilter", new PostFilterParseElement()) .put("filterBinary", new FilterBinaryParseElement())