ElasticSearch return 4 primary shards instead of 3

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 wa

--
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/2f23b514-4ed0-4de7-890f-bdeeee48bf9a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.