public interface MultiTenantSolrIndexService
extends com.broadleafcommerce.enterprise.workflow.service.search.EnterpriseSolrIndexService
| Modifier and Type | Method and Description |
|---|---|
void |
executeSolrIndexOperation(org.broadleafcommerce.core.search.service.solr.index.SolrIndexOperation operation,
org.broadleafcommerce.common.site.domain.Catalog catalog,
org.broadleafcommerce.common.site.domain.Site site) |
void |
rebuildCatalogIndex(org.broadleafcommerce.common.site.domain.Catalog catalog)
When a new Catalog is provisioned as a synced copy, you will want to create a Solr index for that catalog since all
of the catalog items are deep-copied.
|
void |
rebuildSiteIndex(org.broadleafcommerce.common.site.domain.Site site)
This method will build the index for the given site if site collections are enabled.
|
getSandBoxIndexOperation, getWorkflowIndexServiceaddDocuments, attachIndexableDocumentFields, buildDocument, buildIncrementalIndex, buildIncrementalIndex, buildIndex, commit, commit, commit, commit, deleteAllDocuments, deleteAllDocuments, deleteAllNamespaceDocuments, deleteAllNamespaceDocuments, deleteByQuery, executeSolrIndexOperation, getAllLocales, getReindexOperation, logDeleteQuery, logDocuments, optimizeIndex, optimizeIndex, performCachedOperation, postBuildIndex, preBuildIndex, rebuildIndex, restoreState, saveStatevoid rebuildCatalogIndex(org.broadleafcommerce.common.site.domain.Catalog catalog)
throws org.broadleafcommerce.common.exception.ServiceException,
IOException
When a new Catalog is provisioned as a synced copy, you will want to create a Solr index for that catalog since all of the catalog items are deep-copied.
This method will build the index for the new catalog directly on the primary core. This will not create duplicate documents, as all documents for the given catalog are deleted prior to indexing
org.broadleafcommerce.common.exception.ServiceExceptionIOExceptionvoid rebuildSiteIndex(org.broadleafcommerce.common.site.domain.Site site)
throws org.broadleafcommerce.common.exception.ServiceException,
IOException
site - org.broadleafcommerce.common.exception.ServiceExceptionIOExceptionvoid executeSolrIndexOperation(org.broadleafcommerce.core.search.service.solr.index.SolrIndexOperation operation,
org.broadleafcommerce.common.site.domain.Catalog catalog,
org.broadleafcommerce.common.site.domain.Site site)
throws org.broadleafcommerce.common.exception.ServiceException
org.broadleafcommerce.common.exception.ServiceExceptionCopyright © 2020. All rights reserved.