Deployment scripts support in elasticsearch

Hi,

I have to create deployment scripts for create index, mapping and other basic operations so that client admin can run this in single shot, does ES supports running batch files

I checked with script file wit groovy extension, but it's not supporting index creation, an example of groovy script file with index creation will be very helpful

Thanks,
Chala.

You can use index templates. You could write an Elasticsearch plugin to create a new API that runs some sequence of commends but that is almost certainly overkill.