Merge pull request #11640 from elastic/revert-11600-gh-8862

Revert "Removing top-level filter parameter from search API."
This commit is contained in:
Shaunak Kashyap 2015-06-12 11:11:05 -07:00
commit bb5dc602fe
1 changed files with 1 additions and 0 deletions

View File

@ -65,6 +65,7 @@ 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())