Unset index.routing.allocation.include.tag

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

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

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