
Elasticsearch
千里风雪
个人比较喜欢打台球, 篮球, 跑步, 平时没事敲敲代码, 听听歌
展开
-
Elasticsearch 健康状态出现red
Elasticsearch 基础命令:检测状态curl http://172.18.28.53:29200/_cluster/health?prettycurl http://172.18.28.53:29200/_cluster/health?level=shards查看节点信息curl ‘http://172.18.28.53:29200/_nodes/process?pretty’删除索引数据:-bash-4.1$ curl -XDELETE http://172.18.28.50:29原创 2020-06-30 17:05:18 · 5978 阅读 · 0 评论 -
Elasticsearch查询数据
Elasticsearch查询数据查询某天的域名search.shcurl -X POST "http://172.18.28.53:29200/a5mdu@2020-03/_search" -H 'Content-Type: application/json' -d'{ "query": { "match_phrase": { "domainMvod": "mxd.clientdown.sdo.com.gosun原创 2020-06-30 16:05:56 · 1664 阅读 · 1 评论