Update _timestamp to date in ES 2.4.0

Hi Team,
Please find the mapping

{
"products": {
"dynamic_templates": [
{
"template_default": {
"mapping": {
"fields": {
"raw": {
"type": "string",
"index": "not_analyzed"
}
}
},
"match": "*"
}
}
],
"_timestamp": {
"enabled": true,
"store": true
}

Need to change the _timestamp field to date kindly help me.

Have you tried the date mappings???

"_timestamp": {
"enabled": true,
"store": true
}

instead of _timestamp , date should be used.Please confirm

"date": {
"enabled": true,
"store": true
}

whether format is mandatory

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.