Fix unsupported settings in elasticsearch.yml - Remove processors and bootstrap.system_call_filter settings
This commit is contained in:
@@ -55,15 +55,11 @@ indices.queries.cache.size: 15%
|
||||
thread_pool.write.queue_size: 1000
|
||||
thread_pool.search.queue_size: 1000
|
||||
|
||||
# I/O optimization
|
||||
bootstrap.system_call_filter: false
|
||||
|
||||
# ---------------------------------- Index Templates ---------------------------
|
||||
# Instead of setting index settings directly (which is not allowed),
|
||||
# we configure index templates that will be applied to new indices.
|
||||
# Elasticsearch will automatically apply these templates to new indices.
|
||||
|
||||
# The following settings MUST be removed from this file:
|
||||
# IMPORTANT: Index-level settings MUST NOT be placed in this configuration file.
|
||||
# These settings are now applied using an index template in the start.sh script.
|
||||
#
|
||||
# The following settings have been removed and will be applied via template:
|
||||
# - index.number_of_shards
|
||||
# - index.number_of_replicas
|
||||
# - index.merge.scheduler.max_thread_count
|
||||
@@ -71,5 +67,5 @@ bootstrap.system_call_filter: false
|
||||
# - index.merge.policy.max_merge_at_once
|
||||
# - index.merge.policy.segments_per_tier
|
||||
|
||||
# Set processors based on container configuration
|
||||
processors: ${PROCESSORS:1}
|
||||
# The 'processors' setting has been removed as it's no longer supported in Elasticsearch 8.x
|
||||
# processors: ${PROCESSORS:1}
|
||||
Reference in New Issue
Block a user