Sha256: 48693a573dbb5a25116039a47a5d162ef1cd925a74c4c769e127ac258bddfaa3
Contents?: true
Size: 882 Bytes
Versions: 4
Compression:
Stored size: 882 Bytes
Contents
# frozen_string_literal: true # Represent a single document returned from Solr class <%= model_name.classify %> include Blacklight::Solr::Document # self.unique_key = 'id' # Email uses the semantic field mappings below to generate the body of an email. SolrDocument.use_extension(Blacklight::Document::Email) # SMS uses the semantic field mappings below to generate the body of an SMS email. SolrDocument.use_extension(Blacklight::Document::Sms) # DublinCore uses the semantic field mappings below to assemble an OAI-compliant Dublin Core document # Semantic mappings of solr stored fields. Fields may be multi or # single valued. See Blacklight::Document::SemanticFields#field_semantics # and Blacklight::Document::SemanticFields#to_semantic_values # Recommendation: Use field names from Dublin Core use_extension(Blacklight::Document::DublinCore) end
Version data entries
4 entries across 4 versions & 1 rubygems