app/indexers/hyrax/valkyrie_collection_indexer.rb in hyrax-3.0.0.pre.rc2 vs app/indexers/hyrax/valkyrie_collection_indexer.rb in hyrax-3.0.0.pre.rc3

- old
+ new

@@ -1,19 +1,10 @@ # frozen_string_literal: true module Hyrax ## # Indexes properties common to PCDM Collections - class ValkyrieCollectionIndexer < Hyrax::ValkyrieIndexer - include Hyrax::ResourceIndexer - include Hyrax::PermissionIndexer - include Hyrax::VisibilityIndexer - include Hyrax::Indexer(:core_metadata) - - def to_solr - super.tap do |index_document| - index_document[:generic_type_sim] = ['Collection'] - index_document[:thumbnail_path_ss] = Hyrax::CollectionThumbnailPathService.call(resource) - end - end + # + # @deprecated use Hyrax::PcdmCollectionIndexer instead + class ValkyrieCollectionIndexer < Hyrax::PcdmCollectionIndexer end end