PUT _template/dogpound_mpds
{
"index_patterns": ["dogpound_mpds*"],
"mappings" : {
"_doc" : {
"dynamic": "true",
"properties": {
"feed": {"type": "text","fields": {"keyword": {"type": "keyword","ignore_above": 256}}},
"mission": {"type": "text","fields": {"keyword": {"type": "keyword","ignore_above": 256}}},
"start": {"type": "date"},
"period": {"type": "object","dynamic": false,"enabled": false,"properties": {"encodedPeriod": {"type": "text"}}},
"duration": {"type": "integer"}
}
}
},
"aliases": {
"dogpound_mpds": {}
}
}
I understand that "_doc" is important but what about the type fields inside "properties"? Are they not mapping types?