java.lang.Object
org.elasticsearch.index.IndexSettingProviders
Keeps track of the
IndexSettingProvider instances defined by plugins and
this class can be used by other components to get access to IndexSettingProvider instances.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic IndexSettingProvidersof(Consumer<Settings.Builder> settingsBuilderConsumer) Utility method which creates anIndexSettingProvidersinstance that uses the provided consumer to add settings to the index being created.
-
Field Details
-
EMPTY
-
-
Constructor Details
-
IndexSettingProviders
-
-
Method Details
-
of
Utility method which creates anIndexSettingProvidersinstance that uses the provided consumer to add settings to the index being created. The primary use case is for tests that want to add specific settings without having to create a full implementation.- Parameters:
settingsBuilderConsumer- A consumer that adds index settings- Returns:
- An
IndexSettingProvidersinstance that uses the provided consumer to add settings
-
getIndexSettingProviders
-