Revert "Removing top-level filter parameter from search API."

This commit is contained in:
Shaunak Kashyap 2015-06-12 11:09:58 -07:00
parent ffc4255041
commit 2498cf9fab
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())