Sha256: 02635913eb4af3f071d51d7623495751a755f71559a71b74884a9349ef3a2adf

Contents?: true

Size: 627 Bytes

Versions: 65

Compression:

Stored size: 627 Bytes

Contents

# Generated via
#  `rails generate hyrax:work <%= class_name %>`
class <%= class_name %>Indexer < Hyrax::WorkIndexer
  # This indexes the default metadata. You can remove it if you want to
  # provide your own metadata and indexing.
  include Hyrax::IndexesBasicMetadata

  # Fetch remote labels for based_near. You can remove this if you don't want
  # this behavior
  include Hyrax::IndexesLinkedMetadata

  # Uncomment this block if you want to add custom indexing behavior:
  # def generate_solr_document
  #  super.tap do |solr_doc|
  #    solr_doc['my_custom_field_ssim'] = object.my_custom_property
  #  end
  # end
end

Version data entries

65 entries across 65 versions & 1 rubygems

Version Path
hyrax-5.1.0.pre.beta1 lib/generators/hyrax/work/templates/indexer.rb.erb
hyrax-5.0.4 lib/generators/hyrax/work/templates/indexer.rb.erb
hyrax-5.0.3 lib/generators/hyrax/work/templates/indexer.rb.erb
hyrax-5.0.2 lib/generators/hyrax/work/templates/indexer.rb.erb
hyrax-5.0.1 lib/generators/hyrax/work/templates/indexer.rb.erb
hyrax-5.0.0 lib/generators/hyrax/work/templates/indexer.rb.erb
hyrax-5.0.0.rc3 lib/generators/hyrax/work/templates/indexer.rb.erb
hyrax-5.0.0.rc2 lib/generators/hyrax/work/templates/indexer.rb.erb
hyrax-5.0.0.rc1 lib/generators/hyrax/work/templates/indexer.rb.erb
hyrax-3.6.0 lib/generators/hyrax/work/templates/indexer.rb.erb
hyrax-4.0.0 lib/generators/hyrax/work/templates/indexer.rb.erb
hyrax-4.0.0.rc3 lib/generators/hyrax/work/templates/indexer.rb.erb
hyrax-4.0.0.rc2 lib/generators/hyrax/work/templates/indexer.rb.erb
hyrax-4.0.0.rc1 lib/generators/hyrax/work/templates/indexer.rb.erb
hyrax-3.5.0 lib/generators/hyrax/work/templates/indexer.rb.erb
hyrax-4.0.0.beta2 lib/generators/hyrax/work/templates/indexer.rb.erb
hyrax-3.4.2 lib/generators/hyrax/work/templates/indexer.rb.erb
hyrax-4.0.0.beta1 lib/generators/hyrax/work/templates/indexer.rb.erb
hyrax-3.4.1 lib/generators/hyrax/work/templates/indexer.rb.erb
hyrax-3.4.0 lib/generators/hyrax/work/templates/indexer.rb.erb