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) void
setDefaultProvider
(IndexerConfigurationProvider defaultIndexerConfigurationProvider) Gives access to the default configuration provider.
-
Constructor Details
-
DefaultIndexerConfigurationProvider
public DefaultIndexerConfigurationProvider()
-
-
Method Details
-
getIndexSettings
- Specified by:
getIndexSettings
in interfaceIndexerConfigurationProvider
- Parameters:
indexName
- index name- Returns:
- the settings for the requested index
-
getFieldConfiguration
Description copied from interface:IndexerConfigurationProvider
Required configuration about which data fields should be indexed in which way.- Specified by:
getFieldConfiguration
in interfaceIndexerConfigurationProvider
- Parameters:
indexName
- index name- Returns:
- the field configuration for the requested index
-
getDataProcessorConfiguration
Description copied from interface:IndexerConfigurationProvider
Optional configuration for data processors that should modify the records before indexation.- Specified by:
getDataProcessorConfiguration
in interfaceIndexerConfigurationProvider
- Parameters:
indexName
- index name- Returns:
- optional data processor configuration
-
setDefaultProvider
Description copied from interface:IndexerConfigurationProvider
Gives access to the default configuration provider.- Specified by:
setDefaultProvider
in interfaceIndexerConfigurationProvider
- Parameters:
defaultIndexerConfigurationProvider
- default configuration provider
-