Query DSL: remove attemped (not working) support for array in not query parser
Closes #12890
This commit is contained in:
parent
8e93ac5d5c
commit
501a1996a3
|
@ -68,10 +68,6 @@ public class NotQueryParser implements QueryParser {
|
||||||
// its the filter, and the name is the field
|
// its the filter, and the name is the field
|
||||||
query = parseContext.parseInnerFilter(currentFieldName);
|
query = parseContext.parseInnerFilter(currentFieldName);
|
||||||
}
|
}
|
||||||
} else if (token == XContentParser.Token.START_ARRAY) {
|
|
||||||
queryFound = true;
|
|
||||||
// its the filter, and the name is the field
|
|
||||||
query = parseContext.parseInnerFilter(currentFieldName);
|
|
||||||
} else if (token.isValue()) {
|
} else if (token.isValue()) {
|
||||||
if ("_name".equals(currentFieldName)) {
|
if ("_name".equals(currentFieldName)) {
|
||||||
queryName = parser.text();
|
queryName = parser.text();
|
||||||
|
|
Loading…
Reference in New Issue