笔者在自己的 ubuntu 服务器上使用 GET /_cat/health?v 命令时,返回值如下所示 可以看到集群状态为 yellow,这是什么意思呢?原来在 es 的集群状态中,有三种情况,官网描述如下. RED: Some or all of (primary) shards are not ready. YELLOW: Elasticsearch has allocated all of the primary shards, but some/all of the replicas h