# Unset index.routing.allocation.include.tag

**URL:** <https://discuss.elastic.co/t/unset-index-routing-allocation-include-tag/8429>\
**Category:** Elasticsearch\
**Created:** [July 16, 2012, 4:38pm UTC](https://discuss.elastic.co/t/unset-index-routing-allocation-include-tag/8429 "2012-07-16T16:38:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![barnybug](https://avatars.discourse-cdn.com/v4/letter/b/f475e1/32.png) [@barnybug](https://discuss.elastic.co/u/barnybug)\
**Post date:** [July 16, 2012, 4:38pm UTC](https://discuss.elastic.co/t/unset-index-routing-allocation-include-tag/8429/1 "2012-07-16T16:38:04Z")

</div>

After doing:  
curl -XPUT localhost:9200/test/\_settings -d '{  
"index.routing.allocation.include.tag" : "value"  
}'

how do I unset (remove) this requirement?  
Tried obvious stuff like setting to null or setting  
"index.routing.allocation.include" to {}, but no luck.

cheers

Barnaby

---

<div class="post-metadata">

**Author:** ![drewr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/drewr/32/7803_2.png) [@drewr](https://discuss.elastic.co/u/drewr)\
**Post date:** [July 16, 2012, 6:22pm UTC](https://discuss.elastic.co/t/unset-index-routing-allocation-include-tag/8429/2 "2012-07-16T18:22:45Z")

</div>

barnybug wrote:

> After doing:  
> curl -XPUT localhost:9200/test/\_settings -d '{  
> "index.routing.allocation.include.tag" : "value"  
> }'
> 
> how do I unset (remove) this requirement?  
> Tried obvious stuff like setting to null or setting  
> "index.routing.allocation.include" to {}, but no luck.

You would set it to the empty string, not an object.

-Drew

---

<div class="post-metadata">

**Author:** ![barnybug](https://avatars.discourse-cdn.com/v4/letter/b/f475e1/32.png) [@barnybug](https://discuss.elastic.co/u/barnybug)\
**Post date:** [July 18, 2012, 11:59am UTC](https://discuss.elastic.co/t/unset-index-routing-allocation-include-tag/8429/3 "2012-07-18T11:59:58Z")

</div>

Success, thanks

On Monday, 16 July 2012 19:22:45 UTC+1, Drew Raines wrote:

> barnybug wrote:
> 
> > After doing:  
> > curl -XPUT localhost:9200/test/\_settings -d '{  
> > "index.routing.allocation.include.tag" : "value"  
> > }'
> > 
> > how do I unset (remove) this requirement?  
> > Tried obvious stuff like setting to null or setting  
> > "index.routing.allocation.include" to {}, but no luck.
> 
> You would set it to the empty string, not an object.
> 
> -Drew

---

<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:19am UTC](https://discuss.elastic.co/t/unset-index-routing-allocation-include-tag/8429/4 "2017-07-06T03:19:58Z")

</div>


