I need to decrease the number of shards and replicas in Elasticsearch.
I have just one node and there is no need to have more than one shard and zero replicas.
Please give me appropriate curl.
I couldn't find such API on elastic site.
Quick response will be greatly appreciated.