class ActiveFedora::DelegatedAttribute

def primary_solr_name

Gives the primary solr name for a column. If there is more than one indexer on the field definition, it gives the first
def primary_solr_name
  @datastream ||= datastream_class.new
  if @datastream.respond_to?(:primary_solr_name)
    @datastream.primary_solr_name(field, dsid)
  else
    raise NoMethodError, "the datastream '#{datastream_class}' doesn't respond to 'primary_solr_name'"
  end
end