class ActiveFedora::RDF::FieldMap

but only with selected methods as outlined in def_delegators.
It partially extends Ruby’s Hash class, similar to the way ActiveFedora::Indexing::Map does,
are used to transforming them for insertion into the solr document.
Transient class that maps solr field names, without their suffixes, to the values and behaviors that

def initialize(hash = {}, &_block)

def initialize(hash = {}, &_block)
  @hash = hash
  yield self if block_given?
end

def insert(name, index_field_config, object)

Parameters:
  • object (ActiveFedora::Base) -- the object to be indexed into Solr
  • index_field_config (ActiveFedora::Indexing::Map::IndexObject) -- describes how the object should be indexed
  • name (Symbol) -- the name of the property on the object that we're indexing
def insert(name, index_field_config, object)
  self[index_field_config.key.to_s] ||= FieldMapEntry.new
  PolymorphicBuilder.new(self[index_field_config.key.to_s], index_field_config, object, name).build
end