# Remove setting from indices

**URL:** <https://discuss.elastic.co/t/remove-setting-from-indices/14795>\
**Category:** Elasticsearch\
**Created:** [December 10, 2013, 5:47pm UTC](https://discuss.elastic.co/t/remove-setting-from-indices/14795 "2013-12-10T17:47:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kevins](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kevins/32/946_2.png) [@kevins](https://discuss.elastic.co/u/kevins)\
**Post date:** [December 10, 2013, 5:47pm UTC](https://discuss.elastic.co/t/remove-setting-from-indices/14795/1 "2013-12-10T17:47:20Z")

</div>

I accidentally created a new property on my indices called "  
index.cluster.routing.allocation.disable\_allocation"

Which, obviously, is not a real setting. How can I remove it? It's  
confusing to others who are viewing it.

Thanks

Here is what it looks like:

1. "settings": {
2. "index.routing.allocation.disable\_allocation": "false",
3. "index.number\_of\_replicas": "1",
4. "index.version.created": "900599",
5. "index.number\_of\_shards": "5",
6. "index.cluster.routing.allocation.disable\_allocation": "false" \<---  
want to remove this
7. },

--  
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/d0e914d2-d76c-427f-8865-15d5e4701ff8%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/d0e914d2-d76c-427f-8865-15d5e4701ff8%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Jason\_Wee](https://avatars.discourse-cdn.com/v4/letter/j/7ea924/32.png) [@Jason\_Wee](https://discuss.elastic.co/u/Jason_Wee)\
**Post date:** [December 11, 2013, 2:27pm UTC](https://discuss.elastic.co/t/remove-setting-from-indices/14795/2 "2013-12-11T14:27:02Z")

</div>

Hmm.. Kevin, have you know this already? I tried using curl -XDELETE to the  
index setting api, won't work. Probably for now, by setting it to the  
default in this example you given, false.

/Jason

On Wed, Dec 11, 2013 at 1:47 AM, Kevin S [kevinsteger@gmail.com](mailto:kevinsteger@gmail.com) wrote:

> I accidentally created a new property on my indices called "  
> index.cluster.routing.allocation.disable\_allocation"
> 
> Which, obviously, is not a real setting. How can I remove it? It's  
> confusing to others who are viewing it.
> 
> Thanks
> 
> Here is what it looks like:
> 
> 1. "settings": {
> 2. "index.routing.allocation.disable\_allocation": "false",
> 3. "index.number\_of\_replicas": "1",
> 4. "index.version.created": "900599",
> 5. "index.number\_of\_shards": "5",
> 6. "index.cluster.routing.allocation.disable\_allocation": "false" \<---  
> want to remove this
> 7. },
> 
> --  
> 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/d0e914d2-d76c-427f-8865-15d5e4701ff8%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/d0e914d2-d76c-427f-8865-15d5e4701ff8%40googlegroups.com)  
> .  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
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/CAHO4itymmtH5E-hdq2f2hnbo80oXazPm%3DOEjSZy1Ly3614%3DwOg%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAHO4itymmtH5E-hdq2f2hnbo80oXazPm%3DOEjSZy1Ly3614%3DwOg%40mail.gmail.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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, 2:01am UTC](https://discuss.elastic.co/t/remove-setting-from-indices/14795/3 "2017-07-06T02:01:59Z")

</div>


