SilverStripe\FullTextSearch\Solr\Reindex\Handlers\SolrReindexBase
Base class for re-indexing of solr content
Synopsis
class SolrReindexBase
implements
SolrReindexHandler
{
- // methods
- public void runReindex()
- protected void processIndex()
- protected array getClassesForIndex()
- protected void processVariant()
- protected abstract void processGroup()
- public void runGroup()
- protected DataList getRecordsInGroup()
- protected void clearRecords()
Hierarchy
Methods
protected
- clearRecords() — Clear all records of the given class in the current state ONLY.
- getClassesForIndex() — Get valid classes and options for an index with an optional filter
- getRecordsInGroup() — Gets the datalist of records in the given group in the current state
- processGroup() — Initiate the processing of a single group
- processIndex() — Process index for a single SolrIndex instance
- processVariant() — Process re-index for a given variant state and class
public
- runGroup() — Explicitly invoke the process that performs the group processing. Can be run either by a background task or a queuedjob.
- runReindex()