Class GlobalSolrFullReIndexOperation

java.lang.Object
org.broadleafcommerce.core.search.service.solr.index.GlobalSolrFullReIndexOperation
All Implemented Interfaces:
SolrIndexOperation

public abstract class GlobalSolrFullReIndexOperation extends Object implements SolrIndexOperation
Rebuilds the entire Solr index. This type of indexing operation prevents other threads from performing any other global reindex operation. The rebuild operation is done on SolrContext#getReindexServer() and then at the end, the Solr cores are swapped. Prior to building the index, all documents from SolrContext#getReindexServer() are deleted.
Author:
Phillip Verheyden (phillipuniverse)