Pipelines/Steps/Install/OnPrem/Sitecore/XM/Solr/9.0/PreInstalled/Create-SolrSitecoreCoresViaHTTP.ps1
$ErrorActionPreference = "Stop" Write-Output "Create Sitecore Solr cores via HTTP started..." $prefix = $SAFConfiguration.prefix $configPath = "$PSScriptRoot\..\..\..\..\Solr\PreInstalled\custom-solrHTTP.json" $cores = @("core_index", "master_index", "web_index", "marketingdefinitions_master", "marketingdefinitions_web", "marketing_asset_index_master", "marketing_asset_index_web", "testing_index", "suggested_test_index", "fxm_master_index", "fxm_web_index") foreach ($core in $cores) { $solrParams = @{ Path = $configPath SolrUrl = $SAFSolrServiceURL CorePrefix = $prefix CoreName = $core } Install-SitecoreConfiguration @solrParams } Write-Output "Create Sitecore Solr cores via HTTP done." |