Command to rename a type. Not a field

It it possible for me to rename

localhost:9200/myindex/typeA

to

localhost:9200/myindex/typeB

Thank you. I can't seem to find this in documentation.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

No. You have to read your documents from typeA and reindex to typeB

--
David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet | @elasticsearchfr

6 novembre 2013 at 16:40:46, Kevin S (kevinsteger@gmail.com) a écrit:

It it possible for me to rename

localhost:9200/myindex/typeA

to

localhost:9200/myindex/typeB

Thank you. I can't seem to find this in documentation.

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.
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.
For more options, visit https://groups.google.com/groups/opt_out.