# Elasticsearch 2.4.0

**URL:** <https://discuss.elastic.co/t/elasticsearch-2-4-0/73161>\
**Category:** Elasticsearch\
**Created:** [January 30, 2017, 7:19am UTC](https://discuss.elastic.co/t/elasticsearch-2-4-0/73161 "2017-01-30T07:19:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![TTNarendran](https://avatars.discourse-cdn.com/v4/letter/t/59ef9b/32.png) [@TTNarendran](https://discuss.elastic.co/u/TTNarendran)\
**Post date:** [January 30, 2017, 7:19am UTC](https://discuss.elastic.co/t/elasticsearch-2-4-0/73161/1 "2017-01-30T07:19:49Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![JKhondhu](https://avatars.discourse-cdn.com/v4/letter/j/ed655f/32.png) [@JKhondhu](https://discuss.elastic.co/u/JKhondhu)\
**Post date:** [January 30, 2017, 9:36am UTC](https://discuss.elastic.co/t/elasticsearch-2-4-0/73161/2 "2017-01-30T09:36:04Z")

</div>

[https://www.elastic.co/guide/en/elasticsearch/reference/2.4/date.html](https://www.elastic.co/guide/en/elasticsearch/reference/2.4/date.html)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [February 27, 2017, 9:36am UTC](https://discuss.elastic.co/t/elasticsearch-2-4-0/73161/3 "2017-02-27T09:36:30Z")

</div>

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