Sha256: ed3da641ae109c9c7f3af46335ac12d8ec7267db9e9aa4f3ce8593063f3465d8
Contents?: true
Size: 518 Bytes
Versions: 34
Compression:
Stored size: 518 Bytes
Contents
# frozen_string_literal: true # Generated via # `rails generate hyrax:work_resource Monograph` class MonographIndexer < Hyrax::ValkyrieWorkIndexer include Hyrax::Indexer(:basic_metadata) include Hyrax::Indexer(:monograph) # 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
34 entries across 24 versions & 1 rubygems