摘要: 1.创建索引(PUT) http://127.0.0.1:9200/my_index 2.获取指定索引(GET) http://127.0.0.1:9200/my_index 3.获取全部索引(GET) http://127.0.0.1:9200/_cat/indices?v 4.删除索引(dele 阅读全文
posted @ 2021-07-29 16:51 Kris-Q 阅读(39) 评论(0) 推荐(0) 编辑
摘要: 1.pull ES的镜像 docker pull elasticsearch:7.2.0 2.启动容器,执行run命令 并命名为es docker run -d --name es -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" e 阅读全文
posted @ 2021-07-29 11:54 Kris-Q 阅读(139) 评论(0) 推荐(0) 编辑