We are learning Elasticsearch with a Docker image, so we don't think there is any clustering involved.
We checked the status of the indices by the command GET _cat/indices/_all
, and the health shows in "yellow".
The sample output of the command GET _cat/indices/_all
:
yellow open logstash bNGIURXyQmWyPjFjWMOILQ 1 1 200 0 193.8kb 193.8kb
yellow open my-index-000001_bak_20230706 YJc1kqTTTt6WwQMX2Gz9kA 1 1 111113 0 80.8mb 80.8mb
yellow open my-index-000001 tjkcic-4SPyym0SP0GOkNA 3 2 111113 1689 78.1mb 78.1mb
Moreover, we collected more information by additional tests:
- Deleting an index and then re-create a new index by the following commands. However, the re-created index still has health in "yellow".
DELETE /my-index-000001
PUT /my-index-000001
- Check the number of the shards in the index by the command
GET /_cat/indices/my-index-000001?v=true&h=index,shards
. However the following output does not seem to contain anyshards
information.
index
my-index-000001
Our Question:
We wonder why the health status of the index is in "yellow".