Pipelines/Steps/Install/OnPrem/Sitecore/XP/Solr/9.1/PreInstalled/Create-SolrXConnectCoresViaHTTP.ps1

$ErrorActionPreference = "Stop"

Write-Output "Create xConnect Solr cores via HTTP started..."

$cores = @("xdb", "xdb_rebuild")
foreach ($core in $cores) {
    CreateNewSolrCoreViaHTTP -SolrUrl $SAFSolrServiceURL -CoreName "$($SAFConfiguration.prefix)_$($core)"
}

Write-Output "Create xConnect Solr cores via HTTP done."