elasticsearch常用命令

tigercn 2020-06-25

获取es的基本信息

curl localhost:9200

查看当前节点的所有 Index

curl -X GET ‘http://localhost:9200/_cat/indices?v‘

创建一个Index

curl -X PUT ‘localhost:9200/weather‘

删除一个Index

curl -X DELETE ‘localhost:9200/weather‘

未完待续
http://www.ruanyifeng.com/blog/2017/08/elasticsearch.html
https://www.jianshu.com/p/41a506acc643

相关推荐