Skip to content

Commit

Permalink
make valky solr adapter take full url argument
Browse files Browse the repository at this point in the history
  • Loading branch information
orangewolf authored and tamsin johnson committed Sep 19, 2023
1 parent 29ee983 commit cc555cb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/valkyrie/indexing/solr/indexing_adapter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ def connection_url
# if any configuration is missing, derive it from Blacklight
config = blacklight_based_config.with_indifferent_access.merge(config)

return config['url'] if config['url'].present?

"http://#{config['host']}:#{config['port']}/solr/#{config['core']}"
end

Expand Down

0 comments on commit cc555cb

Please sign in to comment.