elasticsearch.yml 常用参数说明
cluster.name: 指定node所属的cluster。
node.name: 本机的hostname。
node.master: 是否可以被选举为master节点。(true or false)
node.data: 是否为data node。(true or false)
node.attr.box_type: node所属box类型。(hot or warm, 比如hot node用SSD磁盘,warm node用普通磁盘,然后把最近几天的数据存hot node,时间较长的数据存warm node)。
node.attr.datacenter: 指定node所属的DC。
network.host: 节点绑定的主机名或ip地址,并且会将改革节点通知集群中的其它节点。(default _local_)
script.engine.painless.inline.search: 是否支持painless脚本。plainless是elasticsearch支持的一种增删改查语言,比之groovy更高效安全。(true or false)
bootstrap.memory_lock: 是否锁住内存,避免交换(swapped)带来的性能损失。
bootstrap.system_call_filter: 是否支持过滤掉系统调用。elasticsearch 5.2以后引入的功能,在bootstrap的时候check是否支持seccomp。
thread_pool.bulk.queue_size: 设置响应bulk请求的queue的大小。
indices.memory.index_buffer_size: 新建索引在内存中的buffer。超过buffer size就会触发segment写磁盘。
indices.recovery.max_bytes_per_sec: index在恢复过程中每秒可占用的最大传输带宽。
indices.fielddata.cache.size: field data类型的数据加载到内存中可用的最大内存大小。field data常用语聚合,排序查询。
indices.breaker.fielddata.limit: field data断路器。在field data加载之前,预计算需要使用的堆内存的大小,如果超过这个设定值,断路器会被触发,从而保证不会OOM。
indices.breaker.request.limit: request断路器。预计算完成查询的其他部分(除了field data)需要的内存的大小。
indices.breaker.total.limit: 封装了field data和request两个断路器,确保这两个使用的总内存的大小。
cluster.routing.allocation.disk.threshold_enabled: 是否elasticsearch可以根据磁盘使用情况来决定是否继续分配shard。
cluster.routing.allocation.disk.watermark.low: 控制磁盘最小使用率,default 85%。es在磁盘使用率达到85%的时候将会停止分配新的shard。
cluster.routing.allocation.disk.watermark.high: 控制磁盘的最大使用率,default 90%。在磁盘使用率达到90%的时候es将会relocate shard去其他的节点。
cluster.routing.allocation.node_initial_primaries_recoveries: 初始化数据恢复时,单节点并发恢复线程的个数。
cluster.routing.allocation.node_concurrent_outgoing_recoveries: 单节点上可并发恢复的outgoing的shard数量。
cluster.routing.allocation.node_concurrent_incoming_recoveries: 单节点上可并发恢复的incoming的shard的数量。
action.search.shard_count.limit: 搜索的shard number限制,超过设置的number的query请求会被拒绝。
discovery.zen.minimum_master_nodes: 达到最小的master候选者个数后才能开始选master。
discovery.zen.ping.unicast.hosts:为了加入集群,一个节点至少需要知道集群中可以当选master的node的主机名或ip地址。这个设置提供eligible master的ip地址数组。
http.max_initial_line_length: http地址访问url的最大长度,默认为4kb。
http.max_content_length: http请求的最大内容大小。
xpack.security.transport.ssl.enabled:node之间进行transport请求是否需要SSL/TLS。
xpack.security.http.ssl.enabled:外部与es集群之间进行http请求是否需要SSL/TLS。
elasticsearch.yml 常用参数说明的更多相关文章
- elasticsearch按照配置时遇到的一些坑 [Failed to load settings from [elasticsearch.yml]]
这里整理几个空格引起的问题. 版本是elasticsearch-2.3.0 或者elasticsearch-rtf-master Exception in thread "main" ...
- elasticsearch中常用的API
elasticsearch中常用的API分类如下: 文档API: 提供对文档的增删改查操作 搜索API: 提供对文档进行某个字段的查询 索引API: 提供对索引进行操作,查看索引信息等 查看API: ...
- tcpdump常用参数说明及常见操作
tcpdump常用参数说明及常见操作 -a 将网络地址和广播地址转变成名字 -c 指定抓包的数量 -d 将匹配信息包的代码以人们能够理解的汇编格式给出 -dd 将匹配信息包的代码以c语言程序段的格式给 ...
- Exception in thread "main" SettingsException[Failed to load settings from [elasticsearch.yml]]; nested: ElasticsearchParseException[malformed, expected end of settings but encountered additional conte
D:\elasticsearch\elasticsearch-2.4.0\bin>elasticsearchException in thread "main" Settin ...
- elasticsearch.yml配置文件
Elasticsearch的配置文件在config文件夹下,其中有elasticsearch.yml.logging.yml两个配置文件,其中elasticsearch.yml是用来配置Ela ...
- 配置文件elasticsearch.yml详解
在es根目录下的config目录中有elasticsearch.yml配置文件,es加载使用的yml格式配置 17行:cluster.name: 自定义集群名称(强烈推荐默认名称elasticsear ...
- 【ElasticSearch】:elasticsearch.yml配置
ElasticSearch5的elasticsearch.yml配置 注意 elasticsearch.yml中的配置,冒号和后面配置值之间有空格 cluster.name: my-applicati ...
- Transactional注解中常用参数说明
@Transactional注解中常用参数说明 参 数 名 称 功 能 描 述readOnly ...
- OneProxy常用参数说明
5.2.OneProxy常用参数说明 OneProxy的所有可用参数可通过oneproxy --help-all查看.所有参数均可以写入文件中,由OneProxy启动时加载 5.2.1.基本参数 -- ...
随机推荐
- JavaScript函数实现鼠标指向后带图片的提示效果
转载:http://www.cnblogs.com/jack86514/archive/2009/04/01/1427584.html 当我们在写一个网页程序的时候,很多方法可以提供页面的动态显示,从 ...
- XCode5.1.1怎样实现代码块自己主动排版
1.问题描写叙述 在开发中常常遇到代码块须要排版的情况,假设一行一行缩进就太out了,但在xcode中怎样实现还真不知道 2.解决方法 2.1选中须要排版的代码块 2.2单击"Editor ...
- vue 百度地图
<template lang="pug"> #select-area-in-map-content #show-message-info el-popover(plac ...
- Optimizing concurrent accesses in a directory-based coherency protocol
In one embodiment, the present invention includes a directory to aid in maintaining control of a cac ...
- 解决:insert Vodafone sim card,open the mms read report,when receive the read report,cann't download..
insert Vodafone sim card,open the mms read report,when receive the read report,cann't download the m ...
- python 强制类型转换 以及 try expect
强制类型转换: 字符串 --> 整型: 字符串 第一个 是 + 或者 - ,会直接去掉 符号 ,返回 数字 如: a = '+123456' s = int(a) print(s) s ...
- Expression Blend实例动画-大坝水位升高演示
原文:Expression Blend实例动画-大坝水位升高演示 Expression Blend是个很强大的东西,用它可以完成很多不好做的动画效果. 动画的主要元素: 时间线(Timeline) : ...
- vs2017 js cordova + dotnet core 开发app
原文:vs2017 js cordova + dotnet core 开发app 1.记得在index.html加入 <meta http-equiv="Content-Securit ...
- delphi中使用词霸2005的动态库XdictGrb.dll实现屏幕取词
近日来,在网上发现关于屏幕取词技术的捷径,搜索很长时间,发现实现方式以VB出现的居多,但是通过Delphi来实现的却好象没有看到,自己参考着VB的相关代码琢磨了一下通过delphi来实现的方式. 其实 ...
- vs2015未能正确加载“ProviderPackage”包。
原文:vs2015未能正确加载“ProviderPackage”包. 出现以下错误的解决方案 --------------------------- Microsoft Visual Studio - ...