# Add version for Mapping

**URL:** <https://discuss.elastic.co/t/add-version-for-mapping/313047>\
**Category:** Elasticsearch\
**Created:** [August 26, 2022, 8:10pm UTC](https://discuss.elastic.co/t/add-version-for-mapping/313047 "2022-08-26T20:10:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ghassan\_Karwchan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ghassan_karwchan/32/110129_2.png) [@Ghassan\_Karwchan](https://discuss.elastic.co/u/Ghassan_Karwchan)\
**Post date:** [August 26, 2022, 8:10pm UTC](https://discuss.elastic.co/t/add-version-for-mapping/313047/1 "2022-08-26T20:10:16Z")

</div>

Hi.  
A newbie question.  
Can I add some kind of versioning for the mapping itself and not the document.

So, it is not a property or attribute of the document being indexed, but the mapping itself.

So, when I request the mapping for an index as follows:

/\<index\_name\>/\_mapping  
it brings that property.  
I could add it under the "properties", but I prefer not, so I know it is not document related.

Appreciate your help

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [August 27, 2022, 12:50am UTC](https://discuss.elastic.co/t/add-version-for-mapping/313047/2 "2022-08-27T00:50:13Z")

</div>

Hi @Ghassan_Karwchan Welcome to the community

You mean like the `_meta` fields? see [here](https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-meta-field.html)

You can put in what you like.

---

<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:** [September 24, 2022, 12:51am UTC](https://discuss.elastic.co/t/add-version-for-mapping/313047/3 "2022-09-24T00:51:01Z")

</div>

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