elasticsearch常用命令
查看集群状态
request
1 | GET _cat/health?v |
response
1 | epoch timestamp cluster status node.total node.data shards pri relo init unassign pending_tasks max_task_wait_time active_shards_percent |
查看所有index
request
1 | GET _cat/indices?v |
response
1 | health status index uuid pri rep docs.count docs.deleted store.size pri.store.size |
index简单操作
1 | 新增index |