Update _timestamp to date in ES 2.4.0


(Tt Narendran) #1

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.


(Ravi Shanker Reddy) #2

Have you tried the date mappings???


(Tt Narendran) #3

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

instead of _timestamp , date should be used.Please confirm

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


(Tt Narendran) #5

whether format is mandatory


(system) #6

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