Tests: Fix bad parsing of empty filters.
This commit is contained in:
parent
e29492ce94
commit
1cb6af7585
|
@ -233,7 +233,6 @@ public class QueryParseContext {
|
|||
token = parser.nextToken();
|
||||
if (token == XContentParser.Token.END_OBJECT) {
|
||||
// empty query
|
||||
parser.nextToken();
|
||||
return null;
|
||||
}
|
||||
if (token != XContentParser.Token.FIELD_NAME) {
|
||||
|
|
Loading…
Reference in New Issue