# Mapping "AS-IS"

**URL:** <https://discuss.elastic.co/t/mapping-as-is/74612>\
**Category:** Elasticsearch\
**Created:** [February 10, 2017, 7:26am UTC](https://discuss.elastic.co/t/mapping-as-is/74612 "2017-02-10T07:26:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gang/32/15413_2.png) [@Gang](https://discuss.elastic.co/u/Gang)\
**Post date:** [February 10, 2017, 7:26am UTC](https://discuss.elastic.co/t/mapping-as-is/74612/1 "2017-02-10T07:26:01Z")

</div>

Hello, everybody. Can someone to give me a hint how to get index mapping "as-is". When I've made it, fields were in some logical order. And I have some feeder pushing my data to ES in this same order. If I'm trying to get actual mapping to lay aside before update (via [http://MyURL/\_mapping?pretty](http://MyURL/_mapping?pretty) or hq/header plugins) it is in alphabetical or even chaotic.

---

<div class="post-metadata">

**Author:** ![nik9000](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nik9000/32/44947_2.png) [@nik9000](https://discuss.elastic.co/u/nik9000)\
**Post date:** [February 10, 2017, 4:11pm UTC](https://discuss.elastic.co/t/mapping-as-is/74612/2 "2017-02-10T16:11:40Z")

</div>

I'm fairly sure Elasticsearch doesn't preserve the order of mappings.

---

<div class="post-metadata">

**Author:** ![Gang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gang/32/15413_2.png) [@Gang](https://discuss.elastic.co/u/Gang)\
**Post date:** [February 13, 2017, 6:39am UTC](https://discuss.elastic.co/t/mapping-as-is/74612/3 "2017-02-13T06:39:34Z")

</div>

Expectedly, but sad. I have a massive mapping with dozens of fields. And they are logically structured on the source-side. So it's pretty puzzling to compare and find missmappings when the two filed lists are not ordered same. Thanks for your reply anyway.

---

<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:** [March 13, 2017, 6:39am UTC](https://discuss.elastic.co/t/mapping-as-is/74612/4 "2017-03-13T06:39:42Z")

</div>

Closed on March 13, 2017, 6:39am UTC

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