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
5 6 7 8 9 10 |
# File 'app/indexers/hyrax/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) end end |