摘要: //启动3个集群 bin/elasticsearch -E node.name=cluster0node -E cluster.name=cluster0 -E path.data=cluster0_data -E discovery.type=single-node -E http.port=92 阅读全文
posted @ 2020-12-28 11:37 小啊菜鸡 阅读(221) 评论(0) 推荐(0) 编辑
摘要: #案例1 DELETE mytest PUT mytest { "settings":{ "number_of_shards":3, "number_of_replicas":0, "index.routing.allocation.require.box_type":"hott" } } # 检查 阅读全文
posted @ 2020-12-28 11:05 小啊菜鸡 阅读(132) 评论(0) 推荐(0) 编辑