ElasticSearch array type mapping example:
curl -XPUT 'http://localhost:9200/test/b/_mapping' -d '{ "b" : { "properties" : { "comments" : { "type" : "string", "index_name" : "comment"} } } }'
ElasticSearch delete data and mapping example:
curl -XDELETE 'http://localhost:9200/test/b'