{
    "mytemplate" : {
        "template" : "foo*",
        "settings" : {
            "index" : {
                "number_of_shards": 10,
                "number_of_replicas": 0
            }
        }
    }
}