Sha256: e716bce5bfe4530b6a8bd9efeccf0edad5e10e07bcd1a3e56591db849ce73903

Contents?: true

Size: 599 Bytes

Versions: 18

Compression:

Stored size: 599 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'

  # 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

18 entries across 18 versions & 2 rubygems

Version Path
blacklight-8.7.0 lib/generators/blacklight/templates/solr_document.rb
blacklight-8.6.1 lib/generators/blacklight/templates/solr_document.rb
blacklight-8.6.0 lib/generators/blacklight/templates/solr_document.rb
blacklight-8.5.1 lib/generators/blacklight/templates/solr_document.rb
blacklight-8.5.0 lib/generators/blacklight/templates/solr_document.rb
blacklight-8.4.0 lib/generators/blacklight/templates/solr_document.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/blacklight-8.3.0/lib/generators/blacklight/templates/solr_document.rb
blacklight-8.3.0 lib/generators/blacklight/templates/solr_document.rb
blacklight-8.2.2 lib/generators/blacklight/templates/solr_document.rb
blacklight-8.2.1 lib/generators/blacklight/templates/solr_document.rb
blacklight-8.2.0 lib/generators/blacklight/templates/solr_document.rb
blacklight-8.1.0 lib/generators/blacklight/templates/solr_document.rb
blacklight-8.0.1 lib/generators/blacklight/templates/solr_document.rb
blacklight-8.0.0 lib/generators/blacklight/templates/solr_document.rb
blacklight-8.0.0.beta8 lib/generators/blacklight/templates/solr_document.rb
blacklight-8.0.0.beta7 lib/generators/blacklight/templates/solr_document.rb
blacklight-8.0.0.beta6 lib/generators/blacklight/templates/solr_document.rb
blacklight-8.0.0.beta5 lib/generators/blacklight/templates/solr_document.rb