Skip to content

Commit

Permalink
Fix solr endpoint default issue
Browse files Browse the repository at this point in the history
  • Loading branch information
laritakr committed Apr 5, 2024
1 parent e720484 commit 89a973f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/hyrax/solr_service_decorator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ def reset!

Hyrax.index_adapter&.reset!
end

# Override Hyrax SolrService connection method to always use Hyku's connection method.
def connection
SolrEndpoint.new.connection
end
end
end

Expand Down

0 comments on commit 89a973f

Please sign in to comment.