Class: Hyrax::AdminSetIndexer

Inherits:
ActiveFedora::IndexingService
  • Object
show all
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_documentObject


7
8
9
10
11
12
# File 'app/indexers/hyrax/admin_set_indexer.rb', line 7

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