diff --git a/config/blacklight.yml b/config/blacklight.yml index 6859f0b..298a63a 100644 --- a/config/blacklight.yml +++ b/config/blacklight.yml @@ -12,10 +12,10 @@ development: adapter: solr - url: http://127.0.0.1:<%= ENV['SOLR_TEST_PORT'] || 8983 %>/solr/aster-development + url: <%= ENV['DEV_SOLR_URL'] || "http://127.0.0.1:8983/solr/aster-development" %> test: &test adapter: solr - url: <%= ENV['SOLR_URL'] || "http://127.0.0.1:#{ENV.fetch('SOLR_TEST_PORT', 8985)}/solr/aster-test" %> + url: <%= ENV['TEST_SOLR_URL'] || 'http://127.0.0.1:8985/solr/aster-test' %> production: adapter: solr url: <%= ENV['SOLR_URL'] || "http://127.0.0.1:8983/solr/aster" %> diff --git a/config/solr.yml b/config/solr.yml index 55a83a6..99a3789 100644 --- a/config/solr.yml +++ b/config/solr.yml @@ -1,6 +1,6 @@ development: - url: http://127.0.0.1:<%= ENV['SOLR_TEST_PORT'] || 8983 %>/solr/aster-development + url: <%= ENV['DEV_SOLR_URL'] || "http://127.0.0.1:8983/solr/aster-development" %> test: - url: http://127.0.0.1:<%= ENV['SOLR_TEST_PORT'] || 8985 %>/solr/aster-test + url: <%= ENV['TEST_SOLR_URL'] || 'http://127.0.0.1:8985/solr/aster-test' %> production: url: http://127.0.0.1:8983/solr/aster