public class IndexerOperationListener extends Object implements ExtendedIndexerListener
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_QUALIFIER |
static String |
FLIP_QUALIFIER |
static String |
FLOP_QUALIFIER |
| Constructor and Description |
|---|
IndexerOperationListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterIndex(IndexerContext context)
Handles a notification that the indexing for a particular
IndexerContext has just been completed. |
void |
afterIndexError(IndexerContext context)
Handles a notification that the indexing for a particular
IndexerContext failed. |
void |
afterPrepareContext(IndexerContext context)
The implementation of this method will be invoked after the context preparation.
|
void |
beforeIndex(IndexerContext context)
Handles a notification that the indexing for a particular
IndexerContext is about to begin. |
SolrIndexOperationService |
getSolrIndexOperationService() |
SolrIndexService |
getSolrIndexService() |
SolrSearchProviderFactory |
getSolrSearchProviderFactory() |
protected String |
resolveStagedQualifier(Index index) |
void |
setSolrIndexOperationService(SolrIndexOperationService solrIndexOperationService) |
void |
setSolrIndexService(SolrIndexService solrIndexService) |
void |
setSolrSearchProviderFactory(SolrSearchProviderFactory solrSearchProviderFactory) |
public static final String DEFAULT_QUALIFIER
public static final String FLIP_QUALIFIER
public static final String FLOP_QUALIFIER
public void afterPrepareContext(IndexerContext context) throws IndexerException
ExtendedIndexerListenerafterPrepareContext in interface ExtendedIndexerListenercontext - - The IndexerContextIndexerExceptionpublic void beforeIndex(IndexerContext context) throws IndexerException
IndexerListenerIndexerContext is about to begin.beforeIndex in interface IndexerListenercontext - - the IndexerContextIndexerException - if an error occurspublic void afterIndex(IndexerContext context) throws IndexerException
IndexerListenerIndexerContext has just been completed.afterIndex in interface IndexerListenercontext - - the IndexerContextIndexerException - if an error occurspublic void afterIndexError(IndexerContext context) throws IndexerException
IndexerListenerIndexerContext failed.afterIndexError in interface IndexerListenercontext - - the IndexerContextIndexerException - if an error occursprotected String resolveStagedQualifier(Index index) throws IndexerException
IndexerExceptionpublic SolrIndexOperationService getSolrIndexOperationService()
public void setSolrIndexOperationService(SolrIndexOperationService solrIndexOperationService)
public SolrIndexService getSolrIndexService()
public void setSolrIndexService(SolrIndexService solrIndexService)
public SolrSearchProviderFactory getSolrSearchProviderFactory()
public void setSolrSearchProviderFactory(SolrSearchProviderFactory solrSearchProviderFactory)
Copyright © 2017 SAP SE. All Rights Reserved.