SilverStripe\FullTextSearch\Solr\Reindex\Handlers\SolrReindexImmediateHandler
Invokes an immediate reindex
Internally batches of records will be invoked via shell tasks in the background
Synopsis
class SolrReindexImmediateHandler
extends SolrReindexBase
{
- // members
- private static null|string $php_bin = 'php';
- // methods
- public void triggerReindex()
- protected void processIndex()
- protected void processGroup()
- // Inherited methods from SolrReindexBase
- 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
Extends
Uses
- SilverStripe\Core\Config\Configurable
Members
private
- $php_bin
—
SilverStripe\FullTextSearch\Solr\Reindex\Handlers\null|string
Path to the php binary
Methods
protected
- processGroup() — Process a single group.
- processIndex()
public
Inherited from SilverStripe\FullTextSearch\Solr\Reindex\Handlers\SolrReindexBase
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()