Index specific shard and replica settting

currently i use elasticsearch.json to set the global shard and replica
setting.

I have two indices and they have different total index size, e.g. 1T
vs 5T, so i need to set them with different shard and replica setting,
where should i put my configuration instead of sending a url post when
create the index

It is not possible to change the shard count after index creation. So
you'll need to set it when creating the index.

For the other options see:

On Jun 20, 8:43 am, Weiwei Wang ww.wang...@gmail.com wrote:

currently i use elasticsearch.json to set the global shard and replica
setting.

I have two indices and they have different total index size, e.g. 1T
vs 5T, so i need to set them with different shard and replica setting,
where should i put my configuration instead of sending a url post when
create the index