Hi, can anyone provide confirmation or clarification if using ignore_malformed on a property within an object is supported.
The docs say they are not supported on object types but does this extend to properties within the object?
for example :
"dynamic_templates": [
{
"custom_date_iso": {
"path_match": "custom.*",
"match_mapping_type": "date",
"mapping": {
"format": "strict_date_optional_time",
"ignore_malformed": true,
"type": "date"
}
}
}
]
with the above dynamic mapping, when I submit a doc
{
"custom.date": "1970-01-01"
}
it results in:
"properties": {
"custom": {
"properties": {
"date": {
"type": "date",
"format": "strict_date_optional_time",
"ignore_malformed": true
}
}
}
}
This allows me to send bad data for "custom.date" and have it ignored which is what I want.
Is this a supported use case for ignore_malformed?
Thanks