Indices

Create an index

Create Index API

Example args:

{
    "settings" : {
        "number_of_shards" : 3,
        "number_of_replicas" : 2
    }
}

{
    "settings" : {
        "number_of_shards" : 1
    },
    "mappings" : {
        "type1" : {
            "_source" : { "enabled" : false },
            "properties" : {
                "field1" : { "type" : "string", "index" : "not_analyzed" }
            }
        }
    }
}

Index settings

TBD

dynamic

Dynamic mapping Values true, false, "strict".