*Hi Alex, That's more or less what I did:*
curl -XGET localhost:9200/_template?pretty > template_all edit template_all and put it back: curl -XPUT localhost:9200/_template/* -d @template_all * By ES is 1.0.1, I've seen that there is major change in templates in ES 1.2. Do you think my task could be achieved faster? I had to dump config, edit id, and put it back. I'd wish to upload only "testdate" dynamic_templates in one step. the file: * cat template_all { "template" : "logstash-*", "settings" : { "index.analysis.analyzer.default.stopwords" : "_none_", "index.refresh_interval" : "5s", "index.analysis.analyzer.default.type" : "standard" }, "mappings" : { "_default_" : { "dynamic_templates" : [ { "testdate": { "match": "testdate*", "mapping": { "type": "date", "format" : "yyyy-MM-dd HH:mm:ss.SSSSSS" } } }, { "string_fields" : { "mapping" : { "type" : "multi_field", "fields" : { "raw" : { "index" : "not_analyzed", "ignore_above" : 256, "type" : "string" }, "{name}" : { "index" : "analyzed", "omit_norms" : true, "type" : "string" } } }, "match_mapping_type" : "string", "match" : "*" } } ], "properties" : { "geoip" : { "dynamic" : true, "path" : "full", "properties" : { "location" : { "type" : "geo_point" } }, "type" : "object" }, "@version" : { "index" : "not_analyzed", "type" : "string" } }, "_all" : { "enabled" : true } } } } -- 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 elasticsearch+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/917d10ec-63b3-4d94-858a-2f2deeeba604%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.