In version 0.16.1 it was possible to change the number of shards on an
index (or at least the new value was stored internally and no
exception was thrown). With version 0.16.2 I receive the following
exception during running my Elastica tests:
ElasticSearchIllegalArgumentException[can't change the number of
shards for an index]
Is that something that shouldn't have been possible in 0.16.1 and is
now fixed?
Yep :). The update settings has a controlled list of settings that are allowed to be set. This is better handled in master, but I saw people did it by mistake in 0.16.1, so I added explicit exception for this.
On Tuesday, June 7, 2011 at 11:37 AM, ruflin wrote:
Hi Shay
In version 0.16.1 it was possible to change the number of shards on an
index (or at least the new value was stored internally and no
exception was thrown). With version 0.16.2 I receive the following
exception during running my Elastica tests:
ElasticSearchIllegalArgumentException[can't change the number of
shards for an index]
Is that something that shouldn't have been possible in 0.16.1 and is
now fixed?
Yep :). The update settings has a controlled list of settings that are allowed to be set. This is better handled in master, but I saw people did it by mistake in 0.16.1, so I added explicit exception for this.
On Tuesday, June 7, 2011 at 11:37 AM, ruflin wrote:
Hi Shay
In version 0.16.1 it was possible to change the number of shards on an
index (or at least the new value was stored internally and no
exception was thrown). With version 0.16.2 I receive the following
exception during running my Elastica tests:
ElasticSearchIllegalArgumentException[can't change the number of
shards for an index]
Is that something that shouldn't have been possible in 0.16.1 and is
now fixed?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.