Class DataTier.DefaultHotAllocationSettingProvider
java.lang.Object
org.elasticsearch.cluster.routing.allocation.DataTier.DefaultHotAllocationSettingProvider
- All Implemented Interfaces:
IndexSettingProvider
- Enclosing class:
- DataTier
public static class DataTier.DefaultHotAllocationSettingProvider
extends Object
implements IndexSettingProvider
This setting provider injects the setting allocating all newly created indices with
index.routing.allocation.include._tier: "data_hot"
unless the user overrides the
setting while the index is being created (in a create index request for instance)-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetAdditionalIndexSettings
(String indexName, boolean isDataStreamIndex, Settings indexSettings) Returns explicitly set default indexSettings
for the given index.
-
Constructor Details
-
DefaultHotAllocationSettingProvider
public DefaultHotAllocationSettingProvider()
-
-
Method Details
-
getAdditionalIndexSettings
public Settings getAdditionalIndexSettings(String indexName, boolean isDataStreamIndex, Settings indexSettings) Description copied from interface:IndexSettingProvider
Returns explicitly set default indexSettings
for the given index. This should not return null.- Specified by:
getAdditionalIndexSettings
in interfaceIndexSettingProvider
-