Interface CatalogSolrIndexUpdateService
- All Superinterfaces:
SolrIndexUpdateService
- All Known Implementing Classes:
CatalogSolrIndexUpdateServiceImpl
-
Method Summary
Modifier and TypeMethodDescriptionvoidperformCachedOperation(SolrIndexCachedOperation.CacheOperation cacheOperation) voidDefault 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.voidrebuildIndex(org.broadleafcommerce.common.site.domain.Catalog catalog) voidrebuildIndex(org.broadleafcommerce.common.site.domain.Site site) Methods inherited from interface org.broadleafcommerce.core.search.service.solr.indexer.SolrIndexUpdateService
buildDocument, buildDocument, updateIndex, updateIndex
-
Method Details
-
rebuildIndex
void rebuildIndex(org.broadleafcommerce.common.site.domain.Catalog catalog) throws org.broadleafcommerce.common.exception.ServiceException - Throws:
org.broadleafcommerce.common.exception.ServiceException
-
rebuildIndex
void rebuildIndex(org.broadleafcommerce.common.site.domain.Site site) throws org.broadleafcommerce.common.exception.ServiceException - Throws:
org.broadleafcommerce.common.exception.ServiceException
-
rebuildIndex
void rebuildIndex() throws org.broadleafcommerce.common.exception.ServiceExceptionDescription copied from interface:SolrIndexUpdateServiceDefault 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.- Specified by:
rebuildIndexin interfaceSolrIndexUpdateService- Throws:
org.broadleafcommerce.common.exception.ServiceException
-
performCachedOperation
void performCachedOperation(SolrIndexCachedOperation.CacheOperation cacheOperation) throws org.broadleafcommerce.common.exception.ServiceException - Throws:
org.broadleafcommerce.common.exception.ServiceException
-