mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-09 14:34:43 +00:00
only set matcher if parser is not null
This commit is contained in:
parent
5f258b1585
commit
2c9a280878
@ -127,7 +127,9 @@ public class QueryParseContext {
|
||||
this.parseFieldMatcher = ParseFieldMatcher.EMPTY;
|
||||
this.lookup = null;
|
||||
this.parser = jp;
|
||||
this.parser.setParseFieldMatcher(parseFieldMatcher);
|
||||
if (parser != null) {
|
||||
this.parser.setParseFieldMatcher(parseFieldMatcher);
|
||||
}
|
||||
this.namedQueries.clear();
|
||||
this.nestedScope = new NestedScope();
|
||||
this.isFilter = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user