Remove filter and no_match_filter element support from indices query
Use query and no_match_query elements instead.
This commit is contained in:
parent
ea750de39f
commit
a4b89d380c
|
@ -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() {
|
||||||
|
|
Loading…
Reference in New Issue