Remove filter and no_match_filter element support from indices query

Use query and no_match_query elements instead.
This commit is contained in:
javanna 2015-10-27 15:50:26 +01:00 committed by Luca Cavanna
parent ea750de39f
commit a4b89d380c
1 changed files with 2 additions and 2 deletions

View File

@ -32,8 +32,8 @@ import java.util.Collection;
*/ */
public class IndicesQueryParser implements QueryParser { public class IndicesQueryParser implements QueryParser {
private static final ParseField QUERY_FIELD = new ParseField("query", "filter"); private static final ParseField QUERY_FIELD = new ParseField("query");
private static final ParseField NO_MATCH_QUERY = new ParseField("no_match_query", "no_match_filter"); private static final ParseField NO_MATCH_QUERY = new ParseField("no_match_query");
@Override @Override
public String[] names() { public String[] names() {