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.



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

def initialize(_); end

Instance Method Details

#to_solrHash

Generate the Solr hash

Returns:

  • (Hash)

    this will be empty



86
87
88
# File 'lib/valkyrie/persistence/solr/metadata_adapter.rb', line 86

def to_solr
  {}
end