Elasticsearch 2.4.0


(Tt Narendran) #1

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


(Jymit Singh Khondhu) #2

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


(system) #3

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