Package de.cxp.ocs.spi.indexer
Interface IndexerConfigurationProvider
- All Known Implementing Classes:
DefaultIndexerConfigurationProvider
public interface IndexerConfigurationProvider
Provider for index specific settings. They will be requested for every index
job.
-
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.
-
Method Details
-
getIndexSettings
- Parameters:
indexName- index name- Returns:
- the settings for the requested index
-
getFieldConfiguration
Required configuration about which data fields should be indexed in which way.- Parameters:
indexName- index name- Returns:
- the field configuration for the requested index
-
getDataProcessorConfiguration
Optional configuration for data processors that should modify the records before indexation.- Parameters:
indexName- index name- Returns:
- optional data processor configuration
-
setDefaultProvider
Gives access to the default configuration provider.- Parameters:
defaultIndexerConfigurationProvider- default configuration provider
-