PUT _template/poc
{
"order": 0,
"template": "poc-*",
"settings": {
"index": {
"number_of_shards": "1",
"refresh_interval": "5s"
}
},
"mappings": {
"_default_": {
"dynamic_templates": [
{
"strings": {
"match_mapping_type": "string",
"mapping": {
"type": "text",
"fields": {
"raw": {
"type": "keyword",
"ignore_above": 256
}
}
}
}
}
]
}
},
"aliases": {}
}
Created
October 28, 2016 12:34
-
-
Save michaelkeevildown/bcfe164def38de3dfbf2055601b3907c to your computer and use it in GitHub Desktop.
Elasticsearch 5.0 POC Template
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment