Query DSL: remove attemped (not working) support for array in not query parser

Closes #12890
This commit is contained in:
javanna 2015-08-14 18:46:19 +02:00 committed by Luca Cavanna
parent 8e93ac5d5c
commit 501a1996a3
1 changed files with 0 additions and 4 deletions

View File

@ -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();