elastic / elasticsearch

Free and Open Source, Distributed, RESTful Search Engine
https://www.elastic.co/products/elasticsearch
Other
69.77k stars 24.69k forks source link

No error shown on non-existing cluster setting #6309

Closed RobinUS2 closed 10 years ago

RobinUS2 commented 10 years ago

For example setting the default number of shards. This throws no exception, even though it is not supported.

CURL Apply change: curl -XPUT localhost:9200/_cluster/settings -d '{ "persistent" : { "index.number_of_shards" : 2 } }'

Change Response {"acknowledged":true,"persistent":{},"transient":{}}

CURL List settings curl -XGET localhost:9200/_cluster/settings

Settings Response {"persistent":{},"transient":{}}

Mailing list topic: https://groups.google.com/forum/#!topic/elasticsearch/uOXvRid-VoA

clintongormley commented 10 years ago

Closed in favour of #6732