I have data that will always be single value, but it is being sent to my Elasticsearch 5.6 instance as an array. I do not have control over how the data is being sent or the version of Elasticsearch. I do have control over how the properties are mapped in my index.
Is there a way for me to utilize an index property mapping to convert the _source value of "firstName": ["Eric"]
to a stored_fields value of "firstName": "Eric"
?