>
> This did the trick for me: 
>

POST http://localhost:9200/_template/t2 

{
    "template" : "z*",
"mappings" : {
        "_default_" : {
           "_all" : {"enabled" : false},
            "dynamic_templates": [
                { "string_match": {
                      "match":              "*", 
                      "match_mapping_type": "string",
                      "mapping": {
                          "type":   "string",
                          "index" : "not_analyzed"
                      }
                }}
            ]
           
        }
    }
} 

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/b9a01536-c028-4402-b86a-c38dcec09fd8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to