# Map date as text?

**URL:** <https://discuss.elastic.co/t/map-date-as-text/121375>\
**Category:** Elasticsearch\
**Created:** [February 25, 2018, 12:17pm UTC](https://discuss.elastic.co/t/map-date-as-text/121375 "2018-02-25T12:17:12Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [February 25, 2018, 4:34pm UTC](https://discuss.elastic.co/t/map-date-as-text/121375/4 "2018-02-25T16:34:57Z")

</div>

Really?

Can you tell me what is the output of:

```
GET YOURINDEXNAME/_mapping

```

Also an exact document. I think your document has a `root` object in it which either should not be there or at least does not comply with the mapping.

And all formatted as explained in [About the Elasticsearch category](https://discuss.elastic.co/t/about-the-elasticsearch-category/21).

---

_[View the full topic](https://discuss.elastic.co/t/map-date-as-text/121375)._
