Yes thanks, that was Marvel !
On Thursday, August 28, 2014 6:04:39 PM UTC+2, Eddy Meds wrote:
>
> Hello
>
> I created an index with 3 primarys shards but ElasticSearch return and
> indicate that there are 4 primary shards.
>
> # Deleting the data in the cluster
> DELETE /_all
>
> # Create an index with 3 primary shards with 1 replica each
> PUT /blogs
> {
> "settings" : {
> "number_of_shards" : 3,
> "number_of_replicas" : 1
> }
> }
>
> # Retrieve the cluster health
> GET /_cluster/health
>
> And here is the response :
>
> {
> "cluster_name": "clus",
> "status": "yellow",
> "timed_out": false,
> "number_of_nodes": 1,
> "number_of_data_nodes": 1,
> "active_primary_shards": 4,
> "active_shards": 4,
> "relocating_shards": 0,
> "initializing_shards": 0,
> "unassigned_shards": 4
> }
>
> I thought that there was only the number of replica shards that could
> change and that the number of primary shards was fixed at the time that the
> index was created, where does come from the fourth primary shard ?
>
--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/e998670b-8a8d-4ecd-ad6b-a92799f1bebf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.