首页 新闻 赞助 找找看

elasticsearch 单机模式下 分片shard 是5个?我只创建了【product和】不应该是1个shard吗?

0
[待解决问题]

{
"cluster_name": "elastic",
"status": "yellow",
"timed_out": false,
"number_of_nodes": 1,
"number_of_data_nodes": 1,
** "active_primary_shards": 6,
"active_shards": 6,**

"relocating_shards": 0,
"initializing_shards": 0,
"unassigned_shards": 6,
"delayed_unassigned_shards": 0,
"number_of_pending_tasks": 0,
"number_of_in_flight_fetch": 0,
"task_max_waiting_in_queue_millis": 0,
"active_shards_percent_as_number": 50
}

神盾局6级特工的主页 神盾局6级特工 | 菜鸟二级 | 园豆:202
提问于:2019-06-23 11:05
< >
分享
所有回答(1)
0
curl http://localhost:9200/_cat/shards

可以看到分片信息,默认的配置是一个索引有5个分片,一个副本。

Shendu.CC | 园豆:2138 (老鸟四级) | 2019-06-24 16:15
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册