class ActiveFedora::Indexers::GlobalIndexer

property
Applies indexing hints to any given property, independent of what that
#

def index(index_obj)

Parameters:
  • index_obj (ActiveFedora::Indexing::Map::IndexObject, #as) -- The indexing
def index(index_obj)
  index_obj.as(*index_types) unless index_types.empty?
end

def initialize(index_types = nil)

Parameters:
  • index_types (Array) -- The indexing hints to use.
def initialize(index_types = nil)
  @index_types = Array.wrap(index_types)
end

def new(_property)

the property doesn't matter.
The global indexer acts as both an indexer factory and an indexer, since
def new(_property)
  self
end