Migrate ES cluster to use doc_values

Hello,

We want to migrate our ES cluster to use version 1.4.1 with doc_values.
We have 20 nodes with 4TB data.
What is the best practice? Can we just change the mapping and restart the
cluster?
How can we make sure the change was done?

Thanks,

Yoav Melamed

--
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/f6fb341c-9469-4e8b-be92-0d4f9107463e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

You will need to reindex, see:

--

Itamar Syn-Hershko
http://code972.com | @synhershko https://twitter.com/synhershko
Freelance Developer & Consultant
Author of RavenDB in Action http://manning.com/synhershko/

On Sun, Dec 7, 2014 at 3:25 PM, Yoav Melamed yoavm@exelate.com wrote:

Hello,

We want to migrate our ES cluster to use version 1.4.1 with doc_values.
We have 20 nodes with 4TB data.
What is the best practice? Can we just change the mapping and restart the
cluster?
How can we make sure the change was done?

Thanks,

Yoav Melamed

--
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/f6fb341c-9469-4e8b-be92-0d4f9107463e%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/f6fb341c-9469-4e8b-be92-0d4f9107463e%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/CAHTr4ZsFE7WnsbFqW7EC3b3HrS4%3DuJx3TtvRffaH-yYFuXD-bw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Thanks for the answer.
What not clear to me is how to reindex such a change.
Restart is enough?
Can I use the backup-restore method?
Or do I need to scroll the data out and re-index after new mapping?

On Sunday, December 7, 2014 3:25:20 PM UTC+2, Yoav Melamed wrote:

Hello,

We want to migrate our ES cluster to use version 1.4.1 with doc_values.
We have 20 nodes with 4TB data.
What is the best practice? Can we just change the mapping and restart the
cluster?
How can we make sure the change was done?

Thanks,

Yoav Melamed

--
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/4c9b3f15-bc7c-4f02-b165-636def790ebf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Scroll + reindex.

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

Le 7 déc. 2014 à 16:35, Yoav Melamed yoavm@exelate.com a écrit :

Thanks for the answer.
What not clear to me is how to reindex such a change.
Restart is enough?
Can I use the backup-restore method?
Or do I need to scroll the data out and re-index after new mapping?

On Sunday, December 7, 2014 3:25:20 PM UTC+2, Yoav Melamed wrote:
Hello,

We want to migrate our ES cluster to use version 1.4.1 with doc_values.
We have 20 nodes with 4TB data.
What is the best practice? Can we just change the mapping and restart the cluster?
How can we make sure the change was done?

Thanks,

Yoav Melamed

--
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/4c9b3f15-bc7c-4f02-b165-636def790ebf%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/9916B420-D8AF-4FD5-9123-C6D656A0B2EB%40pilato.fr.
For more options, visit https://groups.google.com/d/optout.