Sha256: 8a943ac9bfa925538023d31a05fd3cd10fb07da672fb8601579d8f67e158fb8f

Contents?: true

Size: 525 Bytes

Versions: 14

Compression:

Stored size: 525 Bytes

Contents

# frozen_string_literal: true

# Generated via
#  `rails generate hyrax:work_resource GenericWork`
class GenericWorkIndexer < Hyrax::ValkyrieWorkIndexer
  include Hyrax::Indexer(:basic_metadata)
  include Hyrax::Indexer(:generic_work)

  # Uncomment this block if you want to add custom indexing behavior:
  #  def to_solr
  #    super.tap do |index_document|
  #      index_document[:my_field_tesim]   = resource.my_field.map(&:to_s)
  #      index_document[:other_field_ssim] = resource.other_field
  #    end
  #  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
hyrax-5.1.0.pre.beta1 .koppie/app/indexers/generic_work_indexer.rb
hyrax-5.0.4 .koppie/app/indexers/generic_work_indexer.rb
hyrax-5.0.3 .koppie/app/indexers/generic_work_indexer.rb
hyrax-5.0.2 .koppie/app/indexers/generic_work_indexer.rb
hyrax-5.0.1 .koppie/app/indexers/generic_work_indexer.rb
hyrax-5.0.0 .koppie/app/indexers/generic_work_indexer.rb
hyrax-5.0.0.rc3 .koppie/app/indexers/generic_work_indexer.rb
hyrax-5.0.0.rc2 .koppie/app/indexers/generic_work_indexer.rb
hyrax-5.0.0.rc1 .koppie/app/indexers/generic_work_indexer.rb
hyrax-4.0.0 .koppie/app/indexers/generic_work_indexer.rb
hyrax-4.0.0.rc3 .koppie/app/indexers/generic_work_indexer.rb
hyrax-4.0.0.rc2 .koppie/app/indexers/generic_work_indexer.rb
hyrax-4.0.0.rc1 .koppie/app/indexers/generic_work_indexer.rb
hyrax-4.0.0.beta2 .koppie/app/indexers/generic_work_indexer.rb