elasticsearch索引操作

18-09-14 23:16 字数 229 阅读 2483
curl -X POST "http://localhost:9200/music/_open"  # 打开索引   关闭索引 (_close)

curl -X GET 'http://localhost:9200/_cat/indices?v'  #查看索引

curl 'localhost:9200/_mapping?pretty=true'    #列出每个 Index 所包含的 Type

curl 'localhost:9200/accounts/person/_search'   #查看某个索引下全部记录
0人点赞>
关注 收藏 改进 举报
0 条评论
排序方式 时间 投票
快来抢占一楼吧
请登录后发表评论
站长 @ 十七度
文章
380
粉丝
23
喜欢
190
收藏
31
排名 : 1
访问 : 127.91万
私信