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) unless index_types.empty? index_obj.as(*index_types) end 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