1、查看集群的健康情况

http://localhost:9200/_cluster/health/

ElasticSearch基于索引的基本使用

 

2、创建索引

ElasticSearch基于索引的基本使用

 index_temp 为索引名称

 

3、查看索引信息

ElasticSearch基于索引的基本使用

 

4、查询所有索引

ElasticSearch基于索引的基本使用 

 

 显示索引的详细信息

ElasticSearch基于索引的基本使用

index: 索引名称

store.size 索引所占的存储空间 

 

5、删除索引

DELETE /index_name
完整请求路径 http://localhost:9200/index_name
发送DELETE请求, index_name  为索引的名称

相关文章:

  • 2021-10-28
  • 2022-02-07
  • 2022-01-10
  • 2021-10-10
  • 2022-12-23
  • 2022-12-23
  • 2021-08-24
  • 2021-10-07
猜你喜欢
  • 2021-07-19
  • 2021-09-19
  • 2021-09-07
  • 2022-02-07
  • 2021-09-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案