Sha256: d84adc97a6d4a6e5e6fe4b8cdd60c27f307d9a685bac65746b4f62dd82d8fb4a
Contents?: true
Size: 883 Bytes
Versions: 14
Compression:
Stored size: 883 Bytes
Contents
# frozen_string_literal: true # Represents 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
14 entries across 14 versions & 2 rubygems