Class: CurationConcerns::AdminSetIndexer
- Inherits:
-
ActiveFedora::IndexingService
- Object
- ActiveFedora::IndexingService
- CurationConcerns::AdminSetIndexer
- Includes:
- IndexesThumbnails
- Defined in:
- app/indexers/curation_concerns/admin_set_indexer.rb
Instance Method Summary collapse
Methods included from IndexesThumbnails
#index_thumbnails, #thumbnail_path
Instance Method Details
#generate_solr_document ⇒ Object
5 6 7 8 9 10 11 |
# File 'app/indexers/curation_concerns/admin_set_indexer.rb', line 5 def generate_solr_document super.tap do |solr_doc| # Makes Admin Sets show under the "Admin Sets" tab Solrizer.set_field(solr_doc, 'generic_type', 'Admin Set', :facetable) solr_doc['thumbnail_path_ss'] = thumbnail_path end end |