public function runGroup(LoggerInterface $logger, SolrIndex $indexInstance, $state, $class, $groups, $group) { parent::runGroup($logger, $indexInstance, $state, $class, $groups, $group); // After any changes have been made, mark all indexes as dirty for commit // see http://stackoverflow.com/questions/7512945/how-to-fix-exceeded-limit-of-maxwarmingsearchers $logger->info("Queuing commit on all changes"); SearchUpdateCommitJobProcessor::queue(); }
protected function processIndex(LoggerInterface $logger, SolrIndex $indexInstance, $batchSize, $taskName, $classes = null) { parent::processIndex($logger, $indexInstance, $batchSize, $taskName, $classes); // Immediate processor needs to immediately commit after each index $indexInstance->getService()->commit(); }