The gateway snapshot interval (only applies to shared gateways).
Java代码
#index.gateway.snapshot_interval : 1s
分片异步刷新时间间隔
Java代码
#index.refresh_interval : -1
Set to an actual value (like 0-all) or false to disable it.
Java代码
index.auto_expand_replicas
Set to true to have the index read only. false to allow writes and metadata changes.
Java代码
index.blocks.read_only
Set to true to disable read operations against the index.
Java代码
index.blocks.read
Set to true to disable write operations against the index.
Java代码
index.blocks.write
Set to true to disable metadata operations against the index.
Java代码
index.blocks.metadata
Lucene index term间隔,仅用于新建立的doc
Java代码
index.term_index_interval
Lucene reader term index divisor
Java代码
index.term_index_divisor
When to flush based on operations.
Java代码
index.translog.flush_threshold_ops
When to flush based on translog (bytes) size.
Java代码
index.translog.flush_threshold_size
When to flush based on a period of not flushing.
Java代码
index.translog.flush_threshold_period
Disables flushing. Note, should be set for a short interval and then enabled.
Java代码
index.translog.disable_flush
The maximum size of filter cache (per segment in shard). Set to -1 to disable.
Java代码
index.cache.filter.max_size
The expire after access time for filter cache. Set to -1 to disable.
Java代码
index.cache.filter.expire
merge policy All the settings for the merge policy currently configured. A different merge policy can’t be set.
A node matching any rule will be allowed to host shards from the index.
Java代码
index.routing.allocation.include.*
A node matching any rule will NOT be allowed to host shards from the index.
Java代码
index.routing.allocation.exclude.*
Only nodes matching all rules will be allowed to host shards from the index.
Java代码
index.routing.allocation.require.*
Controls the total number of shards allowed to be allocated on a single node. Defaults to unbounded (-1).
Java代码
index.routing.allocation.total_shards_per_node
When using local gateway a particular shard is recovered only if there can be allocated quorum shards in the cluster. It can be set to quorum (default), quorum-1 (or half), full and full-1. Number values are also supported, e.g. 1.