随笔分类 -  es

摘要:cd /usr/share/elasticsearch/bin/x-pack/ ./users useradd temp -r superuser 输入两遍密码 curl -XPUT -u temp:changeme http://localhost:9200/_xpack/security/use 阅读全文
posted @ 2021-07-22 11:40 已老 阅读(228) 评论(0) 推荐(0) 编辑
摘要:查询 index_name/type/_search POST {"query": {"match_all": {}}} 根据查询删除数据 /index_name/_delete_by_query POST { "query": { "match_all": {} }} 删除索引 /index_na 阅读全文
posted @ 2021-05-20 10:35 已老 阅读(29) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示