尚硅谷大数据技术之ES常用操作.docxVIP

  • 4
  • 0
  • 约3.61千字
  • 约 8页
  • 2023-03-22 发布于上海
  • 举报
查看 es 中有哪些索引 GET GET /_cat/indices?v healthgreen(集群完整) yellow(单点正常、集群不完整) red(单点不正常)status health green(集群完整) yellow(单点正常、集群不完整) red(单点不正常) status 是否能使用 index 索引名 uuid 索引统一编号 pri 主节点几个 rep 从节点几个 docs.count 文档数 docs.deleted 文档被删了多少 store.size 整体占空间大小 pri.store.size 主节点占 增加一个索引 PUT /movie_index PUT /movie_index 删除一个索引 DELETE /movie_indexES 是不删除也不修改任何数据的,而是增加版本号 DELETE /movie_index 4. 新增文档 PUT /movie_index/movie/1{ id:1,name:operation PUT /movie_index/movie/1 { id:1, name:operation red sea, doubanScore:8.5, actorList:[ {id:1,name:zhang {id:1,name:zhang yi}, {id:2,name:hai qing}, {id:3,name:zhang

文档评论(0)

1亿VIP精品文档

相关文档