# How to re-index if I have changed the shard numbers?

**URL:** <https://discuss.elastic.co/t/how-to-re-index-if-i-have-changed-the-shard-numbers/39966>\
**Category:** Elasticsearch\
**Created:** [January 24, 2016, 7:15am UTC](https://discuss.elastic.co/t/how-to-re-index-if-i-have-changed-the-shard-numbers/39966 "2016-01-24T07:15:24Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![Jeremy\_Colton](https://avatars.discourse-cdn.com/v4/letter/j/51bf81/32.png) [@Jeremy\_Colton](https://discuss.elastic.co/u/Jeremy_Colton)\
**Post date:** [July 26, 2016, 10:46am UTC](https://discuss.elastic.co/t/how-to-re-index-if-i-have-changed-the-shard-numbers/39966/7 "2016-07-26T10:46:00Z")

</div>

@warkolm [Changing shard number per index due to EsRejectedExecutionException](https://discuss.elastic.co/t/changing-shard-number-per-index-due-to-esrejectedexecutionexception/56383) 🙂

---

_[View the full topic](https://discuss.elastic.co/t/how-to-re-index-if-i-have-changed-the-shard-numbers/39966)._
