java.lang.Object
org.elasticsearch.index.mapper.MappingParser
Parser for
Mapping provided in CompressedXContent format-
Method Summary
Modifier and TypeMethodDescriptionstatic voidcheckNoRemainingFields(String fieldName, Map<?, ?> fieldNodeMap) Verify that there are no remaining fields in the provided map that contained mapped fieldsstatic voidcheckNoRemainingFields(Map<?, ?> fieldNodeMap, String message) Verify that there are no remaining fields in the provided map that contained mapped fields
-
Method Details
-
checkNoRemainingFields
Verify that there are no remaining fields in the provided map that contained mapped fields- Parameters:
fieldName- the name of the field that is being parsedfieldNodeMap- the map of fields
-
checkNoRemainingFields
Verify that there are no remaining fields in the provided map that contained mapped fields- Parameters:
fieldNodeMap- the map of fieldsmessage- the error message to be returned in case the provided map contains one or more fields
-