Elasticsearch 2.4.0

Hi Team,
am getting error Root mapping definition has unsupported parameters: [date : {type=date}]

Please find the mapping
{
"products": {
"dynamic_templates": [
{
"template_default": {
"mapping": {
"fields": {
"raw": {
"type": "string",
"index": "not_analyzed"
}
}
},
"match": "*"
}
}
],
"date": {
"type": "date"
},
"properties": {
"": {
"type": "string",
"fields": {
"raw": {
"type": "string",
"index": "not_analyzed"
}
}
},
"status": {
"type": "string",
"fields": {
"raw": {
"type": "string",
"index": "not_analyzed"
}
}
},
"price": {
"type": "string",
"fields": {
"raw": {
"type": "string",
"index": "not_analyzed"
}
}
},
}
}
}

Please find the above mapping

am getting error Root mapping definition has unsupported parameters: [date : {type=date}]

Kindly let us

https://www.elastic.co/guide/en/elasticsearch/reference/2.4/date.html

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