现在,让我们来看一看我们的索引 :

    1. curl -XGET 'localhost:9200/_cat/indices?v&pretty'

    没有索引响应如下 :

    1. health status index uuid pri rep docs.count docs.deleted store.size pri.store.size

    这意味着我们的集群中还没有索引。

    有索引的情况:
    image.png