Create an index in Elasticsearch.