SolrReindexHandler
interface SolrReindexHandler (View source)
Provides interface for queueing a solr reindex
Methods
public
triggerReindex(LoggerInterface $logger, int $batchSize, string $taskName, string|array|null $classes = null)
Trigger a solr-reindex
public
runReindex(LoggerInterface $logger, int $batchSize, string $taskName, string|array|null $classes = null)
Begin an immediate re-index
Details
triggerReindex(LoggerInterface $logger, int $batchSize, string $taskName, string|array|null $classes = null)
Trigger a solr-reindex
runReindex(LoggerInterface $logger, int $batchSize, string $taskName, string|array|null $classes = null)
Begin an immediate re-index
runGroup(LoggerInterface $logger, SolrIndex $indexInstance, array $state, string $class, int $groups, int $group)
Do an immediate re-index on the given group, where the group is defined as the list of items where ID mod $groups = $group, in the given $state and optional $class filter.