You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment the mappings request is not validated to ensure that all the specified fields are valid for the particular mapping type. There are three types of field in a mapping field definition:
type field - single field which indicates which field mapper to use
common fields - fields which all types use (such as stored or indexed fields)
type specific fields - fields which are unique to the particular field mapper
These types are parsed separately and the parser for each does not know (and should not know) what the valid fields for the other parsers are. The solution is therefore for the parsers to remove the fields it processes and then a check to be made at the end to see if there are any fields which have not parsed If there are any fields not parsed, these should be returned in an thrown exception.
This functionality has already been implemented for the root mappings in #6093
The text was updated successfully, but these errors were encountered:
At the moment the mappings request is not validated to ensure that all the specified fields are valid for the particular mapping type. There are three types of field in a mapping field definition:
These types are parsed separately and the parser for each does not know (and should not know) what the valid fields for the other parsers are. The solution is therefore for the parsers to remove the fields it processes and then a check to be made at the end to see if there are any fields which have not parsed If there are any fields not parsed, these should be returned in an thrown exception.
This functionality has already been implemented for the root mappings in #6093
The text was updated successfully, but these errors were encountered: