# This is a sample config file that points to a solr server for each environment
development:
  url: http://127.0.0.1:<%= ENV['SOLR_TEST_PORT'] || 8983 %>/solr/hydra-development
test:
  url: http://127.0.0.1:<%= ENV['SOLR_TEST_PORT'] || 8985 %>/solr/hydra-test
production:
  url: http://your.production.server:8080/bl_solr/core0

# This is a sample config file that points to a solr server for each environment
development:
  url: <%= ENV['SOLR_URL'] || "http://127.0.0.1:#{ENV.fetch('SOLR_DEVELOPMENT_PORT', 8983)}/solr/hydra-development" %>
test:
  url: <%= ENV['SOLR_URL'] || "http://127.0.0.1:#{ENV.fetch('SOLR_TEST_PORT', 8985)}/solr/hydra-test" %>
production:
  url: <%= ENV['SOLR_URL'] || "http://127.0.0.1:8983/solr/blacklight-core" %>

Configure Solr with ENV variables
Configure Solr with ENV variables

Use `FEDORA_URL` to determine Solr connection information. `blacklight.yml` was
already setup to use this variable, but Hyrax uses the `solr.yml` configuration
in some places (why?).
