Class: Hyrax::ValkyrieIndexer Deprecated

Inherits:
Indexers::ResourceIndexer show all
Defined in:
app/indexers/hyrax/valkyrie_indexer.rb

Overview

Deprecated.

use Hyrax::Indexers::ResourceIndexer instead

Instance Attribute Summary

Attributes inherited from Indexers::ResourceIndexer

#resource

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Indexers::ResourceIndexer

#generate_solr_document, #to_solr

Constructor Details

#initialize(*args, **kwargs) ⇒ ValkyrieIndexer

Returns a new instance of ValkyrieIndexer.



7
8
9
10
# File 'app/indexers/hyrax/valkyrie_indexer.rb', line 7

def initialize(*args, **kwargs)
  Deprecation.warn "`Hyrax::ValkyrieIndexer` is deprecated. Use `Hyrax::Indexers::ResourceIndexer` instead."
  super
end

Class Method Details

.for(*args, **kwargs) ⇒ Object



13
14
15
16
# File 'app/indexers/hyrax/valkyrie_indexer.rb', line 13

def for(*args, **kwargs)
  Deprecation.warn "`Hyrax::ValkyrieIndexer.for` is deprecated. Use `Hyrax::Indexers::ResourceIndexer.for` instead."
  Hyrax::Indexers::ResourceIndexer.for(*args, **kwargs)
end