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

Version Path
hyrax-5.0.1 .dassie/app/models/solr_document.rb
hyrax-5.0.0 .dassie/app/models/solr_document.rb
hyrax-5.0.0.rc3 .dassie/app/models/solr_document.rb
hyrax-5.0.0.rc2 .dassie/app/models/solr_document.rb
hyrax-5.0.0.rc1 .dassie/app/models/solr_document.rb
hyrax-3.6.0 .dassie/app/models/solr_document.rb
hyrax-4.0.0 .dassie/app/models/solr_document.rb
hyrax-4.0.0.rc3 .dassie/app/models/solr_document.rb
hyrax-4.0.0.rc2 .dassie/app/models/solr_document.rb
hyrax-4.0.0.rc1 .dassie/app/models/solr_document.rb
hyrax-3.5.0 .dassie/app/models/solr_document.rb
hyrax-4.0.0.beta2 .dassie/app/models/solr_document.rb
hyrax-3.4.2 .dassie/app/models/solr_document.rb
hyrax-4.0.0.beta1 .dassie/app/models/solr_document.rb
hyrax-3.4.1 .dassie/app/models/solr_document.rb
hyrax-3.4.0 .dassie/app/models/solr_document.rb
hyrax-3.3.0 .dassie/app/models/solr_document.rb
hyrax-3.2.0 .dassie/app/models/solr_document.rb
hyrax-3.1.0 .dassie/app/models/solr_document.rb
hyrax-3.0.2 .dassie/app/models/solr_document.rb