How to Do a Mapping of Array of Strings in Elasticsearch

In Elasticsearch, there is no dedicated array type. Any field can contain zero or more values by default, however, all values in the array must be of the same datatype. So you don’t have to specify anything specific in the mapping to store an array of values. For more information look at: https://www.elastic.co/guide/en/elasticsearch/reference/current/array.html