Package de.cxp.ocs.conf
Class DefaultIndexerConfigurationProvider
java.lang.Object
de.cxp.ocs.conf.DefaultIndexerConfigurationProvider
- All Implemented Interfaces:
IndexerConfigurationProvider
public class DefaultIndexerConfigurationProvider
extends Object
implements IndexerConfigurationProvider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDataProcessorConfiguration(String indexName) Optional configuration for data processors that should modify the records before indexation.getFieldConfiguration(String indexName) Required configuration about which data fields should be indexed in which way.getIndexSettings(String indexName) voidsetDefaultProvider(IndexerConfigurationProvider defaultIndexerConfigurationProvider) Gives access to the default configuration provider.
-
Constructor Details
-
DefaultIndexerConfigurationProvider
public DefaultIndexerConfigurationProvider()
-
-
Method Details
-
getIndexSettings
- Specified by:
getIndexSettingsin interfaceIndexerConfigurationProvider- Parameters:
indexName- index name- Returns:
- the settings for the requested index
-
getFieldConfiguration
Description copied from interface:IndexerConfigurationProviderRequired configuration about which data fields should be indexed in which way.- Specified by:
getFieldConfigurationin interfaceIndexerConfigurationProvider- Parameters:
indexName- index name- Returns:
- the field configuration for the requested index
-
getDataProcessorConfiguration
Description copied from interface:IndexerConfigurationProviderOptional configuration for data processors that should modify the records before indexation.- Specified by:
getDataProcessorConfigurationin interfaceIndexerConfigurationProvider- Parameters:
indexName- index name- Returns:
- optional data processor configuration
-
setDefaultProvider
Description copied from interface:IndexerConfigurationProviderGives access to the default configuration provider.- Specified by:
setDefaultProviderin interfaceIndexerConfigurationProvider- Parameters:
defaultIndexerConfigurationProvider- default configuration provider
-