关闭服务:
显示log
curl -XPOST 'http://localhost:9200/_shutdown'显示log
./elasticsearch -f
本文介绍了一种通过使用curl命令来关闭Elasticsearch服务的方法。具体操作为发送POST请求到本地9200端口的_shutdown接口。
curl -XPOST 'http://localhost:9200/_shutdown'./elasticsearch -f

被折叠的 条评论
为什么被折叠?