Class BackofficeIndexerStrategy
java.lang.Object
de.hybris.platform.solrfacetsearch.indexer.strategies.impl.AbstractIndexerStrategy
de.hybris.platform.solrfacetsearch.indexer.strategies.impl.DefaultIndexerStrategy
com.hybris.backoffice.solrsearch.indexer.impl.BackofficeIndexerStrategy
- All Implemented Interfaces:
IndexerStrategy
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.solrfacetsearch.indexer.strategies.impl.DefaultIndexerStrategy
DefaultIndexerStrategy.IndexerWorkerWrapper -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidCreates local view with admin privileges and callsdoExecuteAsAdmin(de.hybris.platform.solrfacetsearch.solr.Index, long, boolean)protected voiddoExecuteAsAdmin(Index resolvedIndex, long indexOperationId, boolean isExternalIndexOperation) This method contains real logic being executed bydoExecute(de.hybris.platform.solrfacetsearch.solr.Index, long, boolean)in admin's local view.Methods inherited from class de.hybris.platform.solrfacetsearch.indexer.strategies.impl.DefaultIndexerStrategy
createIndexerWorker, createIndexerWorkersPool, doExecute, getIndexerWorkerFactory, markThreadAsSuspendable, runWorkers, setIndexerWorkerFactoryMethods inherited from class de.hybris.platform.solrfacetsearch.indexer.strategies.impl.AbstractIndexerStrategy
createIndexerQuery, createLocalSessionContext, execute, executeIndexerQuery, getCommonI18NService, getFacetSearchConfig, getFlexibleSearchQuerySpecFactory, getFlexibleSearchService, getIndex, getIndexedProperties, getIndexedType, getIndexerContextFactory, getIndexerHints, getIndexerQueriesExecutor, getIndexOperation, getIndexOperationIdGenerator, getPks, getSessionService, getSolrIndexService, getSolrSearchProviderFactory, getTenantService, getUserService, logStrategyError, logStrategyStart, logStrategySuccess, registerOrUpdateNonSuspendableThread, removeLocalSessionContext, resolveIndex, resolveIndexedProperties, resolveIndexerHints, resolvePks, resolveSessionCurrency, resolveSessionLanguage, resolveSessionUser, resolveSessionUseReadOnlyDataSource, resolveTenantId, revertOperationInfo, setCommonI18NService, setFacetSearchConfig, setFlexibleSearchQuerySpecFactory, setFlexibleSearchService, setIndex, setIndexedProperties, setIndexedType, setIndexerContextFactory, setIndexerHints, setIndexerQueriesExecutor, setIndexOperation, setIndexOperationIdGenerator, setPks, setSessionService, setSolrIndexService, setSolrSearchProviderFactory, setTenantService, setUserService, validateRequiredFields
-
Constructor Details
-
BackofficeIndexerStrategy
public BackofficeIndexerStrategy()
-
-
Method Details
-
doExecute
protected void doExecute(Index resolvedIndex, long indexOperationId, boolean isExternalIndexOperation) throws IndexerException Creates local view with admin privileges and callsdoExecuteAsAdmin(de.hybris.platform.solrfacetsearch.solr.Index, long, boolean)- Overrides:
doExecutein classAbstractIndexerStrategy- Throws:
IndexerException
-
doExecuteAsAdmin
protected void doExecuteAsAdmin(Index resolvedIndex, long indexOperationId, boolean isExternalIndexOperation) throws IndexerException This method contains real logic being executed bydoExecute(de.hybris.platform.solrfacetsearch.solr.Index, long, boolean)in admin's local view. Default implementation delegates toDefaultIndexerStrategy.doExecute(de.hybris.platform.solrfacetsearch.indexer.IndexerContext)- Throws:
IndexerException
-