class ActiveFedora::Indexers::GlobalIndexer
property
Applies indexing hints to any given property, independent of what that
#
def index(index_obj)
-
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)
-
index_types
(Array
) -- The indexing hints to use.
def initialize(index_types = nil) @index_types = Array.wrap(index_types) end
def new(_property)
The global indexer acts as both an indexer factory and an indexer, since
def new(_property) self end