Pipelines/Steps/Install/OnPrem/Sitecore/XM/Solr/9.2/PreInstalled/Add-SitecoreSolrConfigSets.ps1

$ErrorActionPreference = "Stop"

Write-Output "Adding Sitecore Solr config sets started..."

$prefix = $SAFConfiguration.prefix
$configPath = "$PSScriptRoot\sitecore-solrconfigsets.json"

$solrParams = @{
    Path        = $configPath
    SolrRoot    = $SAFSolrTempDir
    CorePrefix  = $prefix
}

Install-SitecoreConfiguration @solrParams

Write-Output "Adding Sitecore Solr config sets done."