Class BackofficeSolrSearchIndexInitializer
java.lang.Object
com.hybris.backoffice.search.setup.AbstractBackofficeSearchIndexInitializer
com.hybris.backoffice.solrsearch.setup.BackofficeSolrSearchIndexInitializer
This class executes its logic during backoffice web context initialization and after system initialization started
from hAC. It initializes (i.e. performs full indexing) all uninitialized backoffice solr indexes.
-
Field Summary
Fields inherited from class com.hybris.backoffice.search.setup.AbstractBackofficeSearchIndexInitializer
afterInitializationEndBackofficeListener, backofficeFacetSearchConfigService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected IndexerServiceprotected SolrIndexServiceprotected voidinitializeIndex(Object searchConfig) protected voidprotected booleanisIndexInitialized(FacetSearchConfig searchConfig) voidsetIndexerService(IndexerService indexerService) voidsetSolrIndexService(SolrIndexService solrIndexService) protected booleanMethods inherited from class com.hybris.backoffice.search.setup.AbstractBackofficeSearchIndexInitializer
handleSystemInitializationEndEvent, initialize, registerSystemInitializationEndCallback, setAfterInitializationEndBackofficeListener, setBackofficeFacetSearchConfigService
-
Constructor Details
-
BackofficeSolrSearchIndexInitializer
public BackofficeSolrSearchIndexInitializer()
-
-
Method Details
-
initializeIndexesIfNecessary
protected void initializeIndexesIfNecessary()- Specified by:
initializeIndexesIfNecessaryin classAbstractBackofficeSearchIndexInitializer
-
shouldInitializeIndexes
protected boolean shouldInitializeIndexes()- Specified by:
shouldInitializeIndexesin classAbstractBackofficeSearchIndexInitializer
-
isIndexInitialized
-
initializeIndex
-
getSolrIndexService
-
setSolrIndexService
-
getIndexerService
-
setIndexerService
-