Sha256: b848980f4b3635bf8220f83772d03882f499c694a9e0f700d8763394f155da06
Contents?: true
Size: 1.03 KB
Versions: 24
Compression:
Stored size: 1.03 KB
Contents
# frozen_string_literal: true class SolrDocument include Blacklight::Solr::Document include Blacklight::Gallery::OpenseadragonSolrDocument # Adds Hyrax behaviors to the SolrDocument. include Hyrax::SolrDocumentBehavior # 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) # Do content negotiation for AF models. use_extension( Hydra::ContentNegotiation ) end
Version data entries
24 entries across 24 versions & 1 rubygems