随笔 - 232
文章 - 1
评论 - 28
阅读 -
60万
03 2022 档案
elasticsearch 修改默认最大分片数
摘要:curl -XPUT -H "Content-Type:application/json" http://localhost:9200/_cluster/settings -d '{"transient":{"cluster":{"max_shards_per_node":10000}}}'
阅读全文
elasticsearch 自允许动创建索引
摘要:curl -XPUT -H "Content-Type:application/json" http://localhost:9200/_cluster/settings -d '{"persistent":{"action.auto_create_index":"true"}}'
阅读全文
查找磁盘下文件超过100M大小的所有文件
摘要:[root@localhost /]# find /hytd -type f -size +100M -print0|xargs -0 du -h
阅读全文