随笔分类 -  elasticsearch

摘要:集群--节点--索引--文档--分片(主/副)cluster, node, index, document,shards及replica 查看当前index的主副分片配置:curl -XGET http://localhost:9200/apollo/_settings?pretty默认创建 5个主 阅读全文
posted @ 2020-10-27 20:44 bhz 阅读(95) 评论(0) 推荐(0)
摘要:感谢博主的贡献: https://juejin.im/post/6844904032398475278#heading-1 聚合基础:https://juejin.im/post/6844904032398475278#heading-1 聚合深入理解:Elasticsearch:aggregati 阅读全文
posted @ 2020-10-26 15:41 bhz 阅读(138) 评论(0) 推荐(0)
摘要:转自:https://juejin.im/post/6844904030037245959 【_settings】 磁盘满了以后,es会自动置为 read_only为True,此时需要运维手动操作开启read_only为False curl -H 'Content-Type:application/ 阅读全文
posted @ 2020-10-26 11:12 bhz 阅读(108) 评论(0) 推荐(0)
摘要:参考: 知乎-菜鸟上手指南:https://zhuanlan.zhihu.com/p/98889897 非常感谢博主的分享,保存以免文章丢失 按照如下的步骤来学习: Elasticsearch简介:对Elasticsearch做了一个简单的介绍 Elasticsearch中的一些重要概念:clust 阅读全文
posted @ 2020-10-24 18:20 bhz 阅读(101) 评论(0) 推荐(0)