[Backport 2.x] Add DerivedFieldMapper and support parsing it in mappings (#12569) #13036
80.89% of diff hit (target 71.28%)
View this Pull Request on Codecov
80.89% of diff hit (target 71.28%)
Annotations
codecov / codecov/patch
server/src/main/java/org/opensearch/index/mapper/DerivedFieldMapper.java#L102
Added line #L102 was not covered by tests
Check warning on line 300 in server/src/main/java/org/opensearch/index/mapper/ObjectMapper.java
codecov / codecov/patch
server/src/main/java/org/opensearch/index/mapper/ObjectMapper.java#L300
Added line #L300 was not covered by tests
Check warning on line 381 in server/src/main/java/org/opensearch/index/mapper/ObjectMapper.java
codecov / codecov/patch
server/src/main/java/org/opensearch/index/mapper/ObjectMapper.java#L381
Added line #L381 was not covered by tests
Check warning on line 388 in server/src/main/java/org/opensearch/index/mapper/ObjectMapper.java
codecov / codecov/patch
server/src/main/java/org/opensearch/index/mapper/ObjectMapper.java#L386-L388
Added lines #L386 - L388 were not covered by tests
Check warning on line 395 in server/src/main/java/org/opensearch/index/mapper/ObjectMapper.java
codecov / codecov/patch
server/src/main/java/org/opensearch/index/mapper/ObjectMapper.java#L395
Added line #L395 was not covered by tests
Check warning on line 398 in server/src/main/java/org/opensearch/index/mapper/ObjectMapper.java
codecov / codecov/patch
server/src/main/java/org/opensearch/index/mapper/ObjectMapper.java#L397-L398
Added lines #L397 - L398 were not covered by tests