Merging Mapping

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

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

  4. You can't

HTH
David.

Le 18 juin 2012 à 15:02, Sumit Guptaa 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
Sent from the Elasticsearch Users mailing list archive at Nabble.com.

--
David Pilato
http://dev.david.pilato.fr/
Twitter : @dadoonet

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

You have to reindex your docs with the new mapping.

HTH
David :wink:
Twitter : @dadoonet / @elasticsearchfr

Le 19 juin 2012 à 07:29, Sumit Guptaa 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
Sent from the Elasticsearch Users mailing list archive at Nabble.com.

hi dadoonet

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

Regards,
Sumit Gupta