Support ignore_malformed
for all non-string fields using synthetic source
#106483
Labels
ignore_malformed
for all non-string fields using synthetic source
#106483
Description
Non-string fields need to support
ignore_malformed
when synthetic source is enabled. The idea is to store the field value "as-is" in its json representation and later use the the value reading it from a hidden stored field.Here the strategy to adopt is similar to what we did for the
ip
type. We catch an exception happing when parsing the field value and if storing the malformed value is enabled we just useIgnoreMalformedStoredValues#storedField
to store the value.(Maybe we can do a nice refactoring before and avoid relying on catching the exception)
The text was updated successfully, but these errors were encountered: