Merge pull request #1094 from untergeek/es-1.0-template

ES 1.0 template
This commit is contained in:
Aaron Mildenstein 2014-02-19 11:46:18 -06:00
commit f7519373fc

View file

@ -1,15 +1,7 @@
{ {
"template" : "logstash-*", "template" : "logstash-*",
"settings" : { "settings" : {
"index.refresh_interval" : "5s", "index.refresh_interval" : "5s"
"analysis" : {
"analyzer" : {
"default" : {
"type" : "standard",
"stopwords" : "_none_"
}
}
}
}, },
"mappings" : { "mappings" : {
"_default_" : { "_default_" : {
@ -19,9 +11,8 @@
"match" : "*", "match" : "*",
"match_mapping_type" : "string", "match_mapping_type" : "string",
"mapping" : { "mapping" : {
"type" : "multi_field", "type" : "string", "index" : "analyzed", "omit_norms" : true,
"fields" : { "fields" : {
"{name}" : {"type": "string", "index" : "analyzed", "omit_norms" : true },
"raw" : {"type": "string", "index" : "not_analyzed", "ignore_above" : 256} "raw" : {"type": "string", "index" : "not_analyzed", "ignore_above" : 256}
} }
} }
@ -41,4 +32,3 @@
} }
} }
} }