1.创建索引
在 Postman 中,向 ES 服务器发 PUT 请求 : http://127.0.0.1:9200/shopping

后台日志

重复发送 PUT 请求添加索引 : http://127.0.0.1:9200/shopping ,会返回错误信息 :

2.获取单个索引相关信息
在 Postman 中,向 ES 服务器发GET 请求 : http://127.0.0.1:9200/shopping

3.查看所有索引
在 Postman 中,向 ES 服务器发 GET 请求 : http://127.0.0.1:9200/_cat/indices?v

4.删除单个索引
在 Postman 中,向 ES 服务器发 DELETE 请求 : http://127.0.0.1:9200/shopping
