Install/OnPrem/Solr/PreInstalled/Create-SolrSitecoreCoresViaHTTP.ps1
. "$PSScriptRoot\..\SolrParams.ps1" -Force $ErrorActionPreference = "Stop" Write-Output "Create Sitecore Solr cores via HTTP started..." $prefix = $global:Configuration.prefix $configPath = "$PSScriptRoot\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 = $SolrServiceURL CorePrefix = $prefix CoreName = $core } Install-SitecoreConfiguration @solrParams } Write-Output "Create Sitecore Solr cores via HTTP done." |