# Migrate ES cluster to use doc\_values

**URL:** <https://discuss.elastic.co/t/migrate-es-cluster-to-use-doc-values/21124>\
**Category:** Elasticsearch\
**Created:** [December 7, 2014, 1:25pm UTC](https://discuss.elastic.co/t/migrate-es-cluster-to-use-doc-values/21124 "2014-12-07T13:25:20Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yoav\_Melamed](https://avatars.discourse-cdn.com/v4/letter/y/4da419/32.png) [@Yoav\_Melamed](https://discuss.elastic.co/u/Yoav_Melamed)\
**Post date:** [December 7, 2014, 1:25pm UTC](https://discuss.elastic.co/t/migrate-es-cluster-to-use-doc-values/21124/1 "2014-12-07T13:25:20Z")

</div>

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](mailto: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).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Itamar\_Syn\_Hershko](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/itamar_syn_hershko/32/725_2.png) [@Itamar\_Syn\_Hershko](https://discuss.elastic.co/u/Itamar_Syn_Hershko)\
**Post date:** [December 7, 2014, 1:27pm UTC](https://discuss.elastic.co/t/migrate-es-cluster-to-use-doc-values/21124/2 "2014-12-07T13:27:52Z")

</div>

You will need to reindex, see:

> **[Elasticsearch Platform — Find real-time answers at scale](https://www.elastic.co)**
>
> Power insights and outcomes with the Elasticsearch Platform and AI. See into your data and find answers that matter with enterprise solutions designed to help you build, observe, and protect. Try Elasticsearch free today.

> **[Elasticsearch Platform — Find real-time answers at scale](https://www.elastic.co)**
>
> Power insights and outcomes with the Elasticsearch Platform and AI. See into your data and find answers that matter with enterprise solutions designed to help you build, observe, and protect. Try Elasticsearch free today.

--

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

On Sun, Dec 7, 2014 at 3:25 PM, Yoav Melamed [yoavm@exelate.com](mailto: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](mailto: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)  
> [https://groups.google.com/d/msgid/elasticsearch/f6fb341c-9469-4e8b-be92-0d4f9107463e%40googlegroups.com?utm\_medium=email&utm\_source=footer](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](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](mailto: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](https://groups.google.com/d/msgid/elasticsearch/CAHTr4ZsFE7WnsbFqW7EC3b3HrS4%3DuJx3TtvRffaH-yYFuXD-bw%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Yoav\_Melamed](https://avatars.discourse-cdn.com/v4/letter/y/4da419/32.png) [@Yoav\_Melamed](https://discuss.elastic.co/u/Yoav_Melamed)\
**Post date:** [December 7, 2014, 3:35pm UTC](https://discuss.elastic.co/t/migrate-es-cluster-to-use-doc-values/21124/3 "2014-12-07T15:35:00Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [December 7, 2014, 3:56pm UTC](https://discuss.elastic.co/t/migrate-es-cluster-to-use-doc-values/21124/4 "2014-12-07T15:56:18Z")

</div>

Scroll + reindex.

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

> Le 7 déc. 2014 à 16:35, Yoav Melamed [yoavm@exelate.com](mailto: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](mailto: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](https://groups.google.com/d/msgid/elasticsearch/4c9b3f15-bc7c-4f02-b165-636def790ebf%40googlegroups.com).  
> For more options, visit [https://groups.google.com/d/optout](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](mailto: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](https://groups.google.com/d/msgid/elasticsearch/9916B420-D8AF-4FD5-9123-C6D656A0B2EB%40pilato.fr).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 12:45am UTC](https://discuss.elastic.co/t/migrate-es-cluster-to-use-doc-values/21124/5 "2017-07-06T00:45:12Z")

</div>


