public class BackofficeIndexerStrategyFactory extends java.lang.Object implements IndexerStrategyFactory
IndexerStrategyFactory| Constructor and Description |
|---|
BackofficeIndexerStrategyFactory() |
| Modifier and Type | Method and Description |
|---|---|
IndexerStrategy |
createIndexerStrategy(FacetSearchConfig facetSearchConfig)
Check whether custom
IndexerStrategy should be used (specified as name indexerStrategyBeanName)
by checking if BackofficeSolrSearch is configured for given name.If it is not, DefaultIndexerStrategyFactory is used for IndexerStrategy creation. |
ApplicationContext |
getApplicationContext() |
BackofficeFacetSearchConfigService |
getBackofficeFacetSearchConfigService() |
DefaultIndexerStrategyFactory |
getDefaultIndexerStrategyFactory() |
java.lang.String |
getIndexerStrategyBeanName() |
void |
setApplicationContext(ApplicationContext applicationContext) |
void |
setBackofficeFacetSearchConfigService(BackofficeFacetSearchConfigService backofficeFacetSearchConfigService) |
void |
setDefaultIndexerStrategyFactory(DefaultIndexerStrategyFactory defaultIndexerStrategyFactory) |
void |
setIndexerStrategyBeanName(java.lang.String indexerStrategyBeanName) |
public DefaultIndexerStrategyFactory getDefaultIndexerStrategyFactory()
public void setDefaultIndexerStrategyFactory(DefaultIndexerStrategyFactory defaultIndexerStrategyFactory)
public ApplicationContext getApplicationContext()
public void setApplicationContext(ApplicationContext applicationContext)
public java.lang.String getIndexerStrategyBeanName()
public void setIndexerStrategyBeanName(java.lang.String indexerStrategyBeanName)
public BackofficeFacetSearchConfigService getBackofficeFacetSearchConfigService()
public void setBackofficeFacetSearchConfigService(BackofficeFacetSearchConfigService backofficeFacetSearchConfigService)
public IndexerStrategy createIndexerStrategy(FacetSearchConfig facetSearchConfig) throws IndexerException
IndexerStrategy should be used (specified as name indexerStrategyBeanName)
by checking if BackofficeSolrSearch is configured for given name.DefaultIndexerStrategyFactory is used for IndexerStrategy creation.createIndexerStrategy in interface IndexerStrategyFactoryfacetSearchConfig - - the facet search configurationIndexerException - if an error occurs during the strategy creationCopyright © 2018 SAP SE. All Rights Reserved.