Sha256: 4f62973f2fd5d21a71ea3b5dc87f9cc2dd1ccb63f1bff5241792ef973e800db9
Contents?: true
Size: 937 Bytes
Versions: 1
Compression:
Stored size: 937 Bytes
Contents
# -*- encoding : utf-8 -*- class SolrDocument include Blacklight::Solr::Document include Spotlight::SolrDocument include Spotlight::SolrDocument::AtomicUpdates # 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
blacklight-spotlight-0.0.3 | spec/internal/app/models/solr_document.rb |