Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Settings: Allow to control index.auto_expand_replicas #799

Closed
kimchy opened this issue Mar 21, 2011 · 1 comment
Closed

Update Settings: Allow to control index.auto_expand_replicas #799

kimchy opened this issue Mar 21, 2011 · 1 comment

Comments

@kimchy
Copy link
Member

kimchy commented Mar 21, 2011

Allow to change the index.auto_expand_replicas setting dynamically using update setting. Also, allow it to be set to false, basically, disabling it. For example:

curl -XPUT localhost:9200/test -d '{
    "settings" : {
        "index" : {
            "number_of_shards" : 1,
            "auto_expand_replicas" : "0-all"
        }
    }
}'

curl -XPUT localhost:9200/test/_settings -d '{
    "index" : {
        "number_of_replicas" : 0,
        "auto_expand_replicas" : false
    }
}'

curl -XPUT localhost:9200/test/_settings -d '{
    "index" : {
        "auto_expand_replicas" : "0-all"
    }
}'
@kimchy
Copy link
Member Author

kimchy commented Mar 21, 2011

Update Settings: Allow to control index.auto_expand_replicas, closed by 8f8fb89.

@kimchy kimchy closed this as completed Mar 21, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant