• 查看集群健康状况
    #### postman接口查询 ####

    GET	/_cluster/health



    #### Elasticsearch-head可视化 ####

    健康状态说明:https://www.elastic.co/guide/cn/elasticsearch/guide/current/_cluster_health.html#_cluster_health
     

  • 创建索引
    #### postman接口查询 ####

    PUT     /index_test
    {
        "settings": {
            "index": {
                "number_of_shards": "2",
                "number_of_replicas": "0"
            }
        }
    }




    #### Elasticsearch-head可视化 ####



     

  • 查看索引
    #### postman接口查询 ####

    GET     _cat/indices?v




    #### Elasticsearch-head可视化 ####


     

  • 删除索引
    #### postman接口查询 ####

    DELETE      /index_test




    #### Elasticsearch-head可视化 ####

最后修改于 2020-03-26 13:45:28
如果觉得我的文章对你有用,请随意赞赏
扫一扫支付
上一篇