How to set number_of_replicas at creation index at elasticsearch ?
I am using template with
{
"index": {
"number_of_replicas": "0",
"mapping": {
"total_fields": {
"limit": "10000"
}
},
"refresh_interval": "5s"
}
}
But index setting after creation is "number_of_replicas": "1",