Class: Hyrax::AdminSetIndexer
- Inherits:
-
ActiveFedora::IndexingService
- Object
- ActiveFedora::IndexingService
- Hyrax::AdminSetIndexer
- Includes:
- IndexesThumbnails
- Defined in:
- app/indexers/hyrax/admin_set_indexer.rb
Instance Method Summary collapse
Methods included from IndexesThumbnails
#index_thumbnails, #thumbnail_path
Instance Method Details
#generate_solr_document ⇒ Object
8 9 10 11 12 13 14 15 16 17 18 |
# File 'app/indexers/hyrax/admin_set_indexer.rb', line 8 def generate_solr_document super.tap do |solr_doc| # Makes Admin Sets show under the "Admin Sets" tab solr_doc['generic_type_sim'] = ['Admin Set'] solr_doc['alternative_title_tesim'] = object.alternative_title solr_doc['creator_ssim'] = object.creator solr_doc['description_tesim'] = object.description solr_doc['title_tesim'] = object.title solr_doc['title_sim'] = object.title end end |