# Remove index allocation filtering settings

**URL:** <https://discuss.elastic.co/t/remove-index-allocation-filtering-settings/8598>\
**Category:** Elasticsearch\
**Created:** [August 1, 2012, 5:10pm UTC](https://discuss.elastic.co/t/remove-index-allocation-filtering-settings/8598 "2012-08-01T17:10:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Doug\_Barth](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/doug_barth/32/2791_2.png) [@Doug\_Barth](https://discuss.elastic.co/u/Doug_Barth)\
**Post date:** [August 1, 2012, 5:10pm UTC](https://discuss.elastic.co/t/remove-index-allocation-filtering-settings/8598/1 "2012-08-01T17:10:04Z")

</div>

Hi,

I'm playing with the index allocation filtering settings locally before  
deploying this configuration in our production environment. While testing,  
I've set both the include & exclude values for an index, which I'd like to  
remove. However, I can't figure out the API call that will remove those  
settings from the index, reverting to the original default state.

Here's the current state of my index:

index.routing.allocation.include.cloud: -1  
index.number\_of\_replicas: 1  
index.version.created: 180099  
index.number\_of\_shards: 10  
index.routing.allocation.exclude.cloud: ignore  
index.routing.allocation.include.cloud.0: false  
index.routing.allocation.include.cloud.1: false

I've tried setting index.routing.allocation.include.cloud to "", null, and  
an empty array with no luck. Any help is appreciated.

---

<div class="post-metadata">

**Author:** ![James\_Bardin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/james_bardin/32/2536_2.png) [@James\_Bardin](https://discuss.elastic.co/u/James_Bardin)\
**Post date:** [August 21, 2012, 4:09pm UTC](https://discuss.elastic.co/t/remove-index-allocation-filtering-settings/8598/2 "2012-08-21T16:09:05Z")

</div>

On Wednesday, August 1, 2012 1:10:04 PM UTC-4, Doug Barth wrote:

> I can't figure out the API call that will remove those settings from the  
> index, reverting to the original default state.

I'm just bumping this with the same question - I'd like to somehow remove  
an index.routing.allocation setting from an index.

Thanks,  
-jim

--

---

<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, 3:15am UTC](https://discuss.elastic.co/t/remove-index-allocation-filtering-settings/8598/3 "2017-07-06T03:15:37Z")

</div>


