Class: Hydra::PCDM::CollectionIndexer

Inherits:
PCDMIndexer
  • Object
show all
Defined in:
lib/hydra/pcdm/collection_indexer.rb

Instance Method Summary collapse

Instance Method Details

#generate_solr_documentObject



3
4
5
6
7
# File 'lib/hydra/pcdm/collection_indexer.rb', line 3

def generate_solr_document
  super.tap do |solr_doc|
    solr_doc[Config.indexing_collection_ids_key] = object.ordered_collection_ids
  end
end