I installed elastic search in my local machine, I want to configure it as the only one single node in the cluster(Standalone Server). it means whenever I create a new index, it
This solve your problem:
PUT /_all/_settings {"index.number_of_replicas":0}
Tested with ES version 5.