Skip to content

Commit

Permalink
Update internal uses of indexers to use new API
Browse files Browse the repository at this point in the history
This is essentially just a find‐and‐replace of
`Hyrax::Indexers::ResourceIndexer` in place of
`Hyrax::ValkyrieIndexer`
  • Loading branch information
marrus-sh committed Nov 15, 2023
1 parent dbf8934 commit 4af9a27
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion app/indexers/concerns/hyrax/permission_indexer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module Hyrax
# permissions being up-to-date in the index to support `Hyrax::Ability`.
#
# @example
# class MyIndexer < Hyrax::ValkyrieIndexer
# class MyIndexer < Hyrax::Indexers::ResourceIndexer
# include Hyrax::PermissionIndexer
# end
module PermissionIndexer
Expand Down
2 changes: 1 addition & 1 deletion app/indexers/concerns/hyrax/visibility_indexer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module Hyrax
# views.
#
# @example
# class MyIndexer < Hyrax::ValkyrieIndexer
# class MyIndexer < Hyrax::Indexers::ResourceIndexer
# include Hyrax::VisibilityIndexer
# end
module VisibilityIndexer
Expand Down
2 changes: 1 addition & 1 deletion lib/hyrax/indexer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ module Hyrax
#
# @example building a module as a mixin
#
# class MyIndexer < Hyrax::ValkyrieIndexer
# class MyIndexer < Hyrax::Indexers::ResourceIndexer
# include Hyrax::Indexer(:core_metadata)
# end
#
Expand Down
2 changes: 1 addition & 1 deletion lib/valkyrie/indexing/solr/indexing_adapter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def default_connection
end

def resource_indexer
Hyrax::ValkyrieIndexer
Hyrax::Indexers::ResourceIndexer
end
end
end
Expand Down
2 changes: 1 addition & 1 deletion lib/wings/active_fedora_converter/default_work.rb
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def file_sets
end

def indexing_service
Hyrax::ValkyrieIndexer.for(resource: valkyrie_resource)
Hyrax::Indexers::ResourceIndexer.for(resource: valkyrie_resource)
end

def to_global_id
Expand Down
2 changes: 1 addition & 1 deletion lib/wings/active_fedora_converter/file_metadata_node.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def to_rdf_representation
end

def indexing_service
Hyrax::ValkyrieIndexer.for(resource: valkyrie_resource)
Hyrax::Indexers::ResourceIndexer.for(resource: valkyrie_resource)
end

def to_solr
Expand Down

0 comments on commit 4af9a27

Please sign in to comment.