① ES查询命令
curl -X GET ‘http://10.10.xxx.xx:端口号/索引(index)/种类(type)/document’
② ES更新语句
curl -X POST ‘http://10.10.xxx.xx:端口号/索引(index)/种类(type)/document/_update’ -d '{ “doc”: { “type”: “2” } }’ (doc 固定)
type:2 是你要更新的值
③ ES插入语句
curl -X PUT ‘http://10.10.xxx.xx:端口号/索引(index)/种类(type)/document’ -d ‘json串’
测开进阶之路——常用ES命令
最新推荐文章于 2022-08-28 21:42:34 发布