class ActiveFedora::RDF::FieldMapEntry

@attribute [Array] values the actual values that get sent to solr
@attribute [Array] behaviors the indexing hints such as :stored_searchable or :symbol
@attribute [Symbol] type the data type hint for Solrizer
It might be possible for two properties to share a single field map entry if they use the same solr key.
Transient class that represents a field that we send to solr.

def initialize

def initialize
  @behaviors = []
  @values = []
end

def merge!(type, behaviors, values)

Parameters:
  • values (Array) -- existing values for the solr field
  • behaviors (Array) -- Solrizer's behaviors for indexing such as :stored_searhable, :symbol
  • type (Symbol) -- the data type for the field such as :string, :date, :integer
def merge!(type, behaviors, values)
  self.type ||= type
  self.behaviors += behaviors
  self.behaviors.uniq!
  self.values += values
end