Class BackofficeSolrSearchIndexInitializer
- java.lang.Object
-
- com.hybris.backoffice.search.setup.AbstractBackofficeSearchIndexInitializer
-
- com.hybris.backoffice.solrsearch.setup.BackofficeSolrSearchIndexInitializer
-
public class BackofficeSolrSearchIndexInitializer extends AbstractBackofficeSearchIndexInitializer
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 Constructor Description BackofficeSolrSearchIndexInitializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected IndexerServicegetIndexerService()protected SolrIndexServicegetSolrIndexService()protected voidinitializeIndex(java.lang.Object searchConfig)protected voidinitializeIndexesIfNecessary()protected booleanisIndexInitialized(FacetSearchConfig searchConfig)voidsetIndexerService(IndexerService indexerService)voidsetSolrIndexService(SolrIndexService solrIndexService)protected booleanshouldInitializeIndexes()-
Methods inherited from class com.hybris.backoffice.search.setup.AbstractBackofficeSearchIndexInitializer
handleSystemInitializationEndEvent, initialize, registerSystemInitializationEndCallback, setAfterInitializationEndBackofficeListener, setBackofficeFacetSearchConfigService
-
-
-
-
Method Detail
-
initializeIndexesIfNecessary
protected void initializeIndexesIfNecessary()
- Specified by:
initializeIndexesIfNecessaryin classAbstractBackofficeSearchIndexInitializer
-
shouldInitializeIndexes
protected boolean shouldInitializeIndexes()
- Specified by:
shouldInitializeIndexesin classAbstractBackofficeSearchIndexInitializer
-
isIndexInitialized
protected boolean isIndexInitialized(FacetSearchConfig searchConfig)
-
initializeIndex
protected void initializeIndex(java.lang.Object searchConfig)
-
getSolrIndexService
protected SolrIndexService getSolrIndexService()
-
setSolrIndexService
public void setSolrIndexService(SolrIndexService solrIndexService)
-
getIndexerService
protected IndexerService getIndexerService()
-
setIndexerService
public void setIndexerService(IndexerService indexerService)
-
-