Class: CurationConcerns::CollectionIndexer

Inherits:
Hydra::PCDM::CollectionIndexer
  • Object
show all
Defined in:
app/indexers/curation_concerns/collection_indexer.rb

Instance Method Summary collapse

Instance Method Details

#generate_solr_documentObject



3
4
5
6
7
8
# File 'app/indexers/curation_concerns/collection_indexer.rb', line 3

def generate_solr_document
  super.tap do |solr_doc|
    # Makes Collections show under the "Collections" tab
    Solrizer.set_field(solr_doc, 'generic_type', 'Collection', :facetable)
  end
end