Unset index.routing.allocation.include.tag


(barnybug) #1

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


(Drew Raines) #2

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


(barnybug) #3

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


(system) #4