Pipelines/Steps/Install/OnPrem/Solr/PreInstalled/Create-CustomSolrCoresViaHTTP.ps1
$ErrorActionPreference = "Stop" Write-Output "Create custom Solr cores via HTTP started..." if (($null -eq $SAFConfiguration.search.solr.customCores) -or ($SAFConfiguration.search.solr.customCores.Count -lt 1)) { Write-Output "No custom Solr cores found. Skipping..." } else { foreach ($core in $SAFConfiguration.search.solr.customCores) { CreateNewSolrCoreViaHTTP -SolrUrl $SAFSolrServiceURL -CoreName "$($SAFConfiguration.prefix)_$($core)" } } Write-Output "Create custom Solr cores via HTTP done." |