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