Pipelines/Steps/Install/OnPrem/Solr/PreInstalled/Add-RebuildSolrConfigSets.ps1
$ErrorActionPreference = "Stop" Write-Output "Add Solr rebuild cores started..." if (($null -eq $SAFConfiguration.search.solr.rebuildCores) -or ($SAFConfiguration.search.solr.rebuildCores.Count -lt 1)) { Write-Output "No rebuild cores defined. Skipping..." } else { foreach ($rebuildCore in $SAFConfiguration.search.solr.rebuildCores) { $fullOriginalCoreName = "$($SAFConfiguration.prefix)_$($rebuildCore.mainCore)" DuplicateConfigSet -SolrRootDir $SAFSolrTempDir -OriginalCoreName $fullOriginalCoreName } } Write-Output "Add Solr rebuild cores done." |