Package org.elasticsearch.index
Interface IndexSettingProvider
- All Known Implementing Classes:
DataTier.DefaultHotAllocationSettingProvider
public interface IndexSettingProvider
An
IndexSettingProvider
is a provider for index level settings that can be set
explicitly as a default value (so they show up as "set" for newly created indices)-
Method Summary
-
Method Details
-
getAdditionalIndexSettings
Settings getAdditionalIndexSettings(String indexName, String dataStreamName, IndexMode templateIndexMode, Metadata metadata, long resolvedAt, Settings allSettings) Returns explicitly set default indexSettings
for the given index. This should not return null.- Parameters:
indexName
- The name of the new index being createddataStreamName
- The name of the data stream if the index being created is part of a data stream otherwisenull
templateIndexMode
- The index mode from the data stream template of the matching template.metadata
- The current metadata instance that doesn't yet contain the index to be createdresolvedAt
- The time the request to create this new index was accepted.allSettings
- All the setting resolved from the template that matches and any setting defined on the create index request
-