Skip to content

Commit

Permalink
iter
Browse files Browse the repository at this point in the history
  • Loading branch information
javanna committed Dec 19, 2024
1 parent b9e3c0a commit 56b392d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public Mapper.TypeParser getMapperParser(String type, IndexVersion indexVersionC
}
return parser;
} else {
assert parser.supportsVersion(indexVersionCreated);
assert parser == null || parser.supportsVersion(indexVersionCreated);
return parser;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1376,7 +1376,7 @@ private boolean isOutOfRange(Object value) {
NumberType(String name, NumericType numericType) {
this.name = name;
this.numericType = numericType;
this.parser = new TypeParser(
this.parser = createTypeParserWithLegacySupport(
(n, c) -> new Builder(n, this, c.scriptCompiler(), c.getSettings(), c.indexVersionCreated(), c.getIndexSettings().getMode())
);
}
Expand Down

0 comments on commit 56b392d

Please sign in to comment.