app/models/concerns/hyrax/solr_document/characterization.rb in hyrax-3.0.0.pre.beta1 vs app/models/concerns/hyrax/solr_document/characterization.rb in hyrax-3.0.0.pre.beta2

- old
+ new

@@ -1,106 +1,106 @@ module Hyrax module SolrDocument # TODO: aside from height and width, I don't think any of these other terms are indexed by default. - Justin 3/2016 module Characterization def byte_order - self[Solrizer.solr_name("byte_order")] + self[ActiveFedora.index_field_mapper.solr_name("byte_order")] end def capture_device - self[Solrizer.solr_name("capture_device")] + self[ActiveFedora.index_field_mapper.solr_name("capture_device")] end def color_map - self[Solrizer.solr_name("color_map")] + self[ActiveFedora.index_field_mapper.solr_name("color_map")] end def color_space - self[Solrizer.solr_name("color_space")] + self[ActiveFedora.index_field_mapper.solr_name("color_space")] end def compression - self[Solrizer.solr_name("compression")] + self[ActiveFedora.index_field_mapper.solr_name("compression")] end def gps_timestamp - self[Solrizer.solr_name("gps_timestamp")] + self[ActiveFedora.index_field_mapper.solr_name("gps_timestamp")] end def height self['height_is'] end def image_producer - self[Solrizer.solr_name("image_producer")] + self[ActiveFedora.index_field_mapper.solr_name("image_producer")] end def latitude - self[Solrizer.solr_name("latitude")] + self[ActiveFedora.index_field_mapper.solr_name("latitude")] end def longitude - self[Solrizer.solr_name("longitude")] + self[ActiveFedora.index_field_mapper.solr_name("longitude")] end def orientation - self[Solrizer.solr_name("orientation")] + self[ActiveFedora.index_field_mapper.solr_name("orientation")] end def profile_name - self[Solrizer.solr_name("profile_name")] + self[ActiveFedora.index_field_mapper.solr_name("profile_name")] end def profile_version - self[Solrizer.solr_name("profile_version")] + self[ActiveFedora.index_field_mapper.solr_name("profile_version")] end def scanning_software - self[Solrizer.solr_name("scanning_software")] + self[ActiveFedora.index_field_mapper.solr_name("scanning_software")] end def width self['width_is'] end def format_label - self[Solrizer.solr_name("format_label")] + self[ActiveFedora.index_field_mapper.solr_name("format_label")] end def file_size - self[Solrizer.solr_name("file_size")] + self[ActiveFedora.index_field_mapper.solr_name("file_size")] end def filename - self[Solrizer.solr_name("filename")] + self[ActiveFedora.index_field_mapper.solr_name("filename")] end def well_formed - self[Solrizer.solr_name("well_formed")] + self[ActiveFedora.index_field_mapper.solr_name("well_formed")] end def page_count - self[Solrizer.solr_name("page_count")] + self[ActiveFedora.index_field_mapper.solr_name("page_count")] end def file_title - self[Solrizer.solr_name("file_title")] + self[ActiveFedora.index_field_mapper.solr_name("file_title")] end def duration - self[Solrizer.solr_name("duration")] + self[ActiveFedora.index_field_mapper.solr_name("duration")] end def sample_rate - self[Solrizer.solr_name("sample_rate")] + self[ActiveFedora.index_field_mapper.solr_name("sample_rate")] end def last_modified - self[Solrizer.solr_name("last_modified")] + self[ActiveFedora.index_field_mapper.solr_name("last_modified")] end def original_checksum - self[Solrizer.solr_name("original_checksum")] + self[ActiveFedora.index_field_mapper.solr_name("original_checksum")] end end end end