Class: Valkyrie::Persistence::Solr::MetadataAdapter::NullIndexer

Inherits:
Object
  • Object
show all
Defined in:
lib/valkyrie/persistence/solr/metadata_adapter.rb

Overview

Class modeling the indexer for cases where indexing is not performed

Instance Method Summary collapse

Constructor Details

#initialize(_) ⇒ NullIndexer

Note:

this is a no-op

Returns a new instance of NullIndexer.



70
# File 'lib/valkyrie/persistence/solr/metadata_adapter.rb', line 70

def initialize(_); end

Instance Method Details

#to_solrHash

Generate the Solr hash

Returns:

  • (Hash)

    this will be empty



74
75
76
# File 'lib/valkyrie/persistence/solr/metadata_adapter.rb', line 74

def to_solr
  {}
end