public abstract class AbstractConfiguredSearchIndexer extends AbstractLoggableComponent implements ConfiguredSearchIndexer
ConfiguredSearchIndexer
. Modifier and Type | Field and Description |
---|---|
private GenericContextFactory |
genericContextFactory |
private SearchIndexerConfigurationLoader |
searchIndexerConfigurationLoader |
private SearchIndexerBuilder |
searchIndexerManager |
private SearchIndexerStateLoader |
searchIndexerStateLoader |
private SearchIndexerUpdateStrategyManager |
searchIndexerUpdateStrategyManager |
Constructor and Description |
---|
AbstractConfiguredSearchIndexer()
The constructor.
|
createLogger, getLogger
doInitialized, getInitializationState, initialize
private SearchIndexerBuilder searchIndexerManager
getSearchIndexerManager()
private SearchIndexerConfigurationLoader searchIndexerConfigurationLoader
getSearchIndexerConfigurationLoader()
private SearchIndexerStateLoader searchIndexerStateLoader
getSearchIndexerStateLoader()
private SearchIndexerUpdateStrategyManager searchIndexerUpdateStrategyManager
getSearchIndexerUpdateStrategyManager()
private GenericContextFactory genericContextFactory
getGenericContextFactory()
public AbstractConfiguredSearchIndexer()
protected SearchIndexerBuilder getSearchIndexerManager()
@Inject public void setSearchIndexerManager(SearchIndexerBuilder searchIndexerManager)
searchIndexerManager
- is the searchIndexerManager to setprotected SearchIndexerConfigurationLoader getSearchIndexerConfigurationLoader()
@Inject public void setSearchIndexerConfigurationLoader(SearchIndexerConfigurationLoader searchIndexerConfigurationLoader)
searchIndexerConfigurationLoader
- is the
searchIndexerConfigurationReader to setprotected SearchIndexerStateLoader getSearchIndexerStateLoader()
@Inject public void setSearchIndexerStateLoader(SearchIndexerStateLoader searchIndexerStateLoader)
searchIndexerStateLoader
- is the searchIndexStateManager to setprotected SearchIndexerUpdateStrategyManager getSearchIndexerUpdateStrategyManager()
@Inject public void setSearchIndexerUpdateStrategyManager(SearchIndexerUpdateStrategyManager searchIndexerUpdateStrategyManager)
searchIndexerUpdateStrategyManager
- is the deltaSearchIndexerBuilder
to setprotected GenericContextFactory getGenericContextFactory()
GenericContextFactory
.GenericContextFactory
.@Inject public void setGenericContextFactory(GenericContextFactory genericContextFactory)
genericContextFactory
- is the genericContextFactory to setpublic void doInitialize()
doInitialize
in class AbstractLoggableComponent
public void index(SearchIndexerSource source, ConfiguredSearchIndexerOptions options, SearchIndexerStateHolder stateHolder, SearchIndexer searchIndexer)
source
.index
in interface ConfiguredSearchIndexer
source
- is the
source
to index.options
- are the ConfiguredSearchIndexerOptions
.stateHolder
- is the SearchIndexerStateHolder
.searchIndexer
- is the SearchIndexer
used for modifying the
index.SearchIndexerSource.getLocations()
public void index(String configurationLocation)
SearchIndexerConfiguration
from the given configurationLocation
and performs the
indexing
.index
in interface ConfiguredSearchIndexer
configurationLocation
- is the location where the configuration data
shall be read from. This is typically a path into the filesystem.ConfiguredSearchIndexer.index(SearchIndexerConfigurationHolder)
,
SearchIndexerConfigurationLoader.loadConfiguration(String)
public void index(String configurationLocation, ConfiguredSearchIndexerOptions options)
SearchIndexerConfiguration
from the given configurationLocation
and performs the
indexing
.index
in interface ConfiguredSearchIndexer
configurationLocation
- is the location where the configuration data
shall be read from. This is typically a path into the filesystem.options
- are the ConfiguredSearchIndexerOptions
.ConfiguredSearchIndexer.index(SearchIndexerConfigurationHolder,
ConfiguredSearchIndexerOptions)
,
SearchIndexerConfigurationLoader.loadConfiguration(String)
public void index(SearchIndexerConfigurationHolder configurationHolder)
sources
given by configuration
.index
in interface ConfiguredSearchIndexer
configurationHolder
- is the SearchIndexerConfigurationHolder
.SearchIndexerSource.getLocations()
public void index(SearchIndexerConfigurationHolder configurationHolder, ConfiguredSearchIndexerOptions options)
configuration
and options
.index
in interface ConfiguredSearchIndexer
configurationHolder
- is the SearchIndexerConfigurationHolder
.options
- are the ConfiguredSearchIndexerOptions
.ConfiguredSearchIndexer.index(SearchIndexerConfigurationHolder)
,
ConfiguredSearchIndexerOptions.getSourceIds()
Copyright © 2001–2016 mmm-Team. All rights reserved.