# Merging Mapping

**URL:** <https://discuss.elastic.co/t/merging-mapping/8144>\
**Category:** Elasticsearch\
**Created:** [June 18, 2012, 1:02pm UTC](https://discuss.elastic.co/t/merging-mapping/8144 "2012-06-18T13:02:36Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sumit\_Guptaa](https://avatars.discourse-cdn.com/v4/letter/s/e8c25b/32.png) [@Sumit\_Guptaa](https://discuss.elastic.co/u/Sumit_Guptaa)\
**Post date:** [June 18, 2012, 1:02pm UTC](https://discuss.elastic.co/t/merging-mapping/8144/1 "2012-06-18T13:02:36Z")

</div>

hi all,

can anybody tell me how we can define mapping on index which has 10 GB data? i want to merge the mapping without reindex my document..

Thanx in advance

Regards,  
Sumit Gupta

---

<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:** [June 18, 2012, 1:53pm UTC](https://discuss.elastic.co/t/merging-mapping/8144/2 "2012-06-18T13:53:09Z")

</div>

What do you mean by "merge mapping" ?

1. Adding new fields (with their own mappings) ?

2. Modify mapping for existing fields ?

3. You just have to send the new mapping (with all fields - old and new) :  
[Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/api/admin-indices-put-mapping.html)  
[http://www.elasticsearch.org/guide/reference/api/admin-indices-put-mapping.html](http://www.elasticsearch.org/guide/reference/api/admin-indices-put-mapping.html)

4. You can't

HTH  
David.

Le 18 juin 2012 à 15:02, Sumit Guptaa [sumit.gupta.ngi@gmail.com](mailto:sumit.gupta.ngi@gmail.com) a écrit :

> hi all,
> 
> can anybody tell me how we can define mapping on index which has 10 GB data?  
> i want to merge the mapping without reindex my document..
> 
> Thanx in advance
> 
> Regards,  
> Sumit Gupta
> 
> --  
> View this message in context:  
> [http://elasticsearch-users.115913.n3.nabble.com/Merging-Mapping-tp4019449.html](http://elasticsearch-users.115913.n3.nabble.com/Merging-Mapping-tp4019449.html)  
> Sent from the Elasticsearch Users mailing list archive at [Nabble.com](http://Nabble.com).

--  
David Pilato  
[http://dev.david.pilato.fr/](http://dev.david.pilato.fr/)  
Twitter : @dadoonet

---

<div class="post-metadata">

**Author:** ![Sumit\_Guptaa](https://avatars.discourse-cdn.com/v4/letter/s/e8c25b/32.png) [@Sumit\_Guptaa](https://discuss.elastic.co/u/Sumit_Guptaa)\
**Post date:** [June 19, 2012, 5:29am UTC](https://discuss.elastic.co/t/merging-mapping/8144/3 "2012-06-19T05:29:00Z")

</div>

hi

i want to add mapping in existing fields and fields already has more data so how we can achieve this....

thanx

Regards,  
Sumit Gupta

---

<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:** [June 19, 2012, 6:25am UTC](https://discuss.elastic.co/t/merging-mapping/8144/4 "2012-06-19T06:25:55Z")

</div>

You have to reindex your docs with the new mapping.

HTH  
David 😉  
Twitter : @dadoonet / @elasticsearchfr

Le 19 juin 2012 à 07:29, Sumit Guptaa [sumit.gupta.ngi@gmail.com](mailto:sumit.gupta.ngi@gmail.com) a écrit :

> hi
> 
> i want to add mapping in existing fields and fields already has more data so  
> how we can achieve this....
> 
> thanx
> 
> Regards,  
> Sumit Gupta
> 
> --  
> View this message in context: [http://elasticsearch-users.115913.n3.nabble.com/Merging-Mapping-tp4019449p4019469.html](http://elasticsearch-users.115913.n3.nabble.com/Merging-Mapping-tp4019449p4019469.html)  
> Sent from the Elasticsearch Users mailing list archive at [Nabble.com](http://Nabble.com).

---

<div class="post-metadata">

**Author:** ![Sumit\_Guptaa](https://avatars.discourse-cdn.com/v4/letter/s/e8c25b/32.png) [@Sumit\_Guptaa](https://discuss.elastic.co/u/Sumit_Guptaa)\
**Post date:** [June 19, 2012, 6:33am UTC](https://discuss.elastic.co/t/merging-mapping/8144/5 "2012-06-19T06:33:40Z")

</div>

hi dadoonet

i don't want reindex my document....is there any way to achieve this...

Regards,  
Sumit Gupta

---

<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:** [July 6, 2017, 3:23am UTC](https://discuss.elastic.co/t/merging-mapping/8144/6 "2017-07-06T03:23:29Z")

</div>


