@Service(value="blCatalogSolrIndexUpdateService") public class CatalogSolrIndexUpdateServiceImpl extends AbstractSolrIndexUpdateServiceImpl implements CatalogSolrIndexUpdateService
| Constructor and Description |
|---|
CatalogSolrIndexUpdateServiceImpl(SolrIndexQueueProvider queueProvider,
CatalogSolrIndexCommandHandler commandHandler) |
| Modifier and Type | Method and Description |
|---|---|
void |
performCachedOperation(SolrIndexCachedOperation.CacheOperation cacheOperation) |
void |
rebuildIndex()
Default behavior is to truncate the background collection (offline index), populate it with documents,
commit, and then swap (re-alias) so that it becomes the foreground collection and the foreground collection becomes the background.
|
void |
rebuildIndex(Catalog catalog) |
void |
rebuildIndex(Site site) |
buildDocument, buildDocument, destroy, getCommandGroup, getQueueOfferTime, getQueuePollTime, isRunning, scheduleCommand, shutdownAll, updateIndex, updateIndexclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuildDocument, buildDocument, updateIndex, updateIndex@Autowired
public CatalogSolrIndexUpdateServiceImpl(@Qualifier(value="blSolrIndexQueueProvider")
SolrIndexQueueProvider queueProvider,
@Qualifier(value="blCatalogSolrUpdateCommandHandler")
CatalogSolrIndexCommandHandler commandHandler)
public void rebuildIndex(Catalog catalog) throws ServiceException
rebuildIndex in interface CatalogSolrIndexUpdateServiceServiceExceptionpublic void rebuildIndex(Site site) throws ServiceException
rebuildIndex in interface CatalogSolrIndexUpdateServiceServiceExceptionpublic void rebuildIndex()
throws ServiceException
SolrIndexUpdateServicerebuildIndex in interface CatalogSolrIndexUpdateServicerebuildIndex in interface SolrIndexUpdateServicerebuildIndex in class AbstractSolrIndexUpdateServiceImplServiceExceptionpublic void performCachedOperation(SolrIndexCachedOperation.CacheOperation cacheOperation) throws ServiceException
performCachedOperation in interface CatalogSolrIndexUpdateServiceServiceExceptionCopyright © 2024. All rights reserved.