# Do i need to re-index?

**URL:** <https://discuss.elastic.co/t/do-i-need-to-re-index/219704>\
**Category:** Elasticsearch\
**Created:** [February 18, 2020, 5:22am UTC](https://discuss.elastic.co/t/do-i-need-to-re-index/219704 "2020-02-18T05:22:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Phie\_Albert](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/phie_albert/32/62847_2.png) [@Phie\_Albert](https://discuss.elastic.co/u/Phie_Albert)\
**Post date:** [February 18, 2020, 5:22am UTC](https://discuss.elastic.co/t/do-i-need-to-re-index/219704/1 "2020-02-18T05:22:51Z")

</div>

Hi, currently i have  
10 nodes with 5 shards, 1 replica  
and i don't use dedicated master node.

if i want to use 3 dedicated master node and increase the number of my nodes so the number of shards on every node is still the same (5 shards, 2 replica). should i use 15 or 18 nodes? since from what i read, 3 dedicated master node is no longer data node. And, do i need to re-indexing?

Thank you

---

<div class="post-metadata">

**Author:** ![mikewillis](https://avatars.discourse-cdn.com/v4/letter/m/b2d939/32.png) [@mikewillis](https://discuss.elastic.co/u/mikewillis)\
**Post date:** [February 20, 2020, 8:43pm UTC](https://discuss.elastic.co/t/do-i-need-to-re-index/219704/2 "2020-02-20T20:43:51Z")

</div>

If you want to go from having 5 primary shards with 1 replica to having 5 primary shards with 2 replicas you do not need to re-index. All you need to do is change `number_of_replicas` setting for your indices to `2`. Having dedicated master nodes is good to do if you have the resources to do it.

---

<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:** [March 19, 2020, 8:43pm UTC](https://discuss.elastic.co/t/do-i-need-to-re-index/219704/3 "2020-03-19T20:43:54Z")

</div>

Closed on March 19, 2020, 8:43pm UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
