Backup and Restore on different mapping

Hi,

I backed index up with snapshot command (index_A) and I created new index
with different mapping (index_B) and then I need to restore data from
index_A to index_B.

But I restored to index_B but mapping has been changed to index_A.

Is this possible to restore from another index and keep mapping of
destination index?

If yes, How to do?

Thank you,
Hiko

--
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/b000e173-07f9-4545-a544-3142df128681%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No. You need to reindex.

David

Le 26 févr. 2015 à 08:10, tao hiko taohiko@gmail.com a écrit :

Hi,

I backed index up with snapshot command (index_A) and I created new index with different mapping (index_B) and then I need to restore data from index_A to index_B.

But I restored to index_B but mapping has been changed to index_A.

Is this possible to restore from another index and keep mapping of destination index?

If yes, How to do?

Thank you,
Hiko

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/b000e173-07f9-4545-a544-3142df128681%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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/4A890A93-4B94-49B4-B659-FD4E191159AB%40pilato.fr.
For more options, visit https://groups.google.com/d/optout.

Thank you for your information

On Thursday, February 26, 2015 at 2:34:45 PM UTC+7, David Pilato wrote:

No. You need to reindex.

David

Le 26 févr. 2015 à 08:10, tao hiko <tao...@gmail.com <javascript:>> a
écrit :

Hi,

I backed index up with snapshot command (index_A) and I created new index
with different mapping (index_B) and then I need to restore data from
index_A to index_B.

But I restored to index_B but mapping has been changed to index_A.

Is this possible to restore from another index and keep mapping of
destination index?

If yes, How to do?

Thank you,
Hiko

--
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 elasticsearc...@googlegroups.com <javascript:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/b000e173-07f9-4545-a544-3142df128681%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/b000e173-07f9-4545-a544-3142df128681%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
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/397f57ec-d429-4ed2-b4e8-922c5665b22c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.