Skip to content

Commit

Permalink
only index Solr backends in parallel
Browse files Browse the repository at this point in the history
  • Loading branch information
mkalkbrenner committed Sep 11, 2024
1 parent 22b48d9 commit 89446c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Utility/SolrCommandHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ public function indexParallelCommand(array $indexIds = NULL, $threads = 2, $batc

/** @var \Drupal\search_api_solr\Entity\Index $index */
foreach ($indexes as $index) {
if (!$index->status() || $index->isReadOnly()) {
if (!$index->status() || $index->isReadOnly() || !($index->getServerInstance()->getBackend() instanceof SolrBackendInterface)) {
continue;
}
$tracker = $index->getTrackerInstance();
Expand Down

0 comments on commit 89446c1

Please sign in to comment.