Sha256: b5cfb1f0c431b02fa04115c7cc480ab4d64b64f8fc04fea2715e7b4df7583acc
Contents?: true
Size: 407 Bytes
Versions: 8
Compression:
Stored size: 407 Bytes
Contents
module DatastreamSpecSolrizer extend ActiveSupport::Concern include SolrDocHelper def datastream_spec_string s = begin controlGroup == 'E' ? content.to_s.length : size rescue 0 end v = versionID.nil? ? '0' : versionID.to_s.split(/\./).last [dsid,controlGroup,mimeType,v,s,label].join("|") end end class ActiveFedora::Datastream include DatastreamSpecSolrizer end
Version data entries
8 entries across 8 versions & 1 rubygems