How to change mapping name?

Hi!
After reindex I have a new name index and mapping (type).
To use the old name of the index, i can add aliases.
Is it possible to easily change the mapping name (type)?

--
View this message in context: http://elasticsearch-users.115913.n3.nabble.com/How-to-change-mapping-name-tp4046546p4046629.html
Sent from the ElasticSearch Users mailing list archive at Nabble.com.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/1387874322066-4046629.post%40n3.nabble.com.
For more options, visit https://groups.google.com/groups/opt_out.

No. You can't.
You have to reindex old data with the new type.

I would recommend to do it in a new index and then remove the old index.

--
David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 21 déc. 2013 à 22:36, sada zpogrim@gmail.com a écrit :

Hi!
After reindex I have a new name index and mapping (type).
To use the old name of the index, i can add aliases.
Is it possible to easily change the mapping name (type)?

--
View this message in context: http://elasticsearch-users.115913.n3.nabble.com/How-to-change-mapping-name-tp4046546.html
Sent from the ElasticSearch Users mailing list archive at Nabble.com.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/1387661797486-4046546.post%40n3.nabble.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/8949DFF0-C95A-4FD3-B487-54CB487C8629%40pilato.fr.
For more options, visit https://groups.google.com/groups/opt_out.