在elasticsearch-head中查看:
注意,一般我们将_id与id赋相同值。
6)修改document内容----POST请求URL:
POST http://127.0.0.1:9200/hello/article/1
在elasticsearch-head中查看:
7)删除文档document---DELETE请求URL:
DELETE http://127.0.0.1:9200/hello/article/2
在elasticsearch-head中查看:
注意,一般我们将_id与id赋相同值。
6)修改document内容----POST请求URL:
POST http://127.0.0.1:9200/hello/article/1
在elasticsearch-head中查看:
7)删除文档document---DELETE请求URL:
DELETE http://127.0.0.1:9200/hello/article/2
Copyright © 2018 - 2021 www.yd166.com., All Rights Reserved.