Install/OnPrem/Solr/SolrParams.ps1

$SolrTempDir = "$(Get-Location)\SolrTemp\solr-$($global:Configuration.search.solr.install.version)"
$SolrServiceDir = ""
$SolrServiceURL = ""

if([string]::IsNullOrEmpty($global:Configuration.search.solr.serviceURL)) {
    $SolrServiceDir = "$($global:Configuration.search.solr.install.installDir)\solr-$($global:Configuration.search.solr.install.version)"
    $SolrServiceURL = "https://$($global:Configuration.search.solr.install.hostName):$($global:Configuration.search.solr.install.port)/solr"
}
else {
    $SolrServiceURL = $global:Configuration.search.solr.serviceURL
}