SilverStripe\FullTextSearch\Tests\SolrReindexTest\SolrReindexTest_TestHandler
Provides a wrapper for testing SolrReindexBase
Synopsis
class SolrReindexTest_TestHandler
extends SolrReindexBase
{
- // methods
- public void processGroup()
- public void triggerReindex()
- // 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
Methods
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()