Sha256: 3ecf32c12d2fbf89af5d8e24e0d77d38e8838fc73824d9155e7b0d4fd2b53f5d

Contents?: true

Size: 853 Bytes

Versions: 95

Compression:

Stored size: 853 Bytes

Contents

# -*- encoding : utf-8 -*-
class SolrDocument 

  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::Solr::Document::Email )
  
  # SMS uses the semantic field mappings below to generate the body of an SMS email.
  SolrDocument.use_extension( Blacklight::Solr::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::Solr::Document::ExtendableClassMethods#field_semantics
  # and Blacklight::Solr::Document#to_semantic_values
  # Recommendation: Use field names from Dublin Core
  use_extension( Blacklight::Solr::Document::DublinCore)    

end

Version data entries

95 entries across 95 versions & 3 rubygems

Version Path
blacklight-4.9.0 lib/generators/blacklight/templates/solr_document.rb
blacklight-4.8.0 lib/generators/blacklight/templates/solr_document.rb
krikri-0.13.2 spec/internal/app/models/solr_document.rb
krikri-0.13.1 spec/internal/app/models/solr_document.rb
krikri-0.13.0 spec/internal/app/models/solr_document.rb
krikri-0.12.4 spec/internal/app/models/solr_document.rb
krikri-0.12.3 spec/internal/app/models/solr_document.rb
krikri-0.12.1 spec/internal/app/models/solr_document.rb
krikri-0.12.0 spec/internal/app/models/solr_document.rb
krikri-0.12.0.pre.rc.1 spec/internal/app/models/solr_document.rb
krikri-0.11.2 spec/internal/app/models/solr_document.rb
krikri-0.11.1 spec/internal/app/models/solr_document.rb
krikri-0.11.0 spec/internal/app/models/solr_document.rb
krikri-0.10.1 spec/internal/app/models/solr_document.rb
krikri-0.10.0 spec/internal/app/models/solr_document.rb
krikri-0.9.0 spec/internal/app/models/solr_document.rb
krikri-0.8.9 spec/internal/app/models/solr_document.rb
krikri-0.8.8 spec/internal/app/models/solr_document.rb
krikri-0.8.7 spec/internal/app/models/solr_document.rb
krikri-0.8.6 spec/internal/app/models/solr_document.rb