Hi,
You can use Thrift:
By default, Elasticsearch creates an index if it doesn't exist. If you want
them to be created with some specific mappings and settings, I suggest you
use index templates:
You can see there that you have the option of putting templates in your
configuration directory. Please note that you don't need to restart
Elasticsearch if you change a config template. When creating a new index,
it will look at the template as it's defined at that point.
On Saturday, October 13, 2012 12:16:54 AM UTC+3, hemantp wrote:
Hi,
Is there any way to create index on server (with mappings) without using
curl or java api? Is there any way in which i can add configuration to
files of my Elasticsearch server which will create index if it doesn't
exist? the reason i need this is because access to env's through curl has
been disabled and we have lot of indexes with numerous mapping that have to
be created on 10 different environments.Thanks.
--