app/models/spotlight/solr_document_sidecar.rb in blacklight-spotlight-0.26.1 vs app/models/spotlight/solr_document_sidecar.rb in blacklight-spotlight-0.27.0

- old
+ new

@@ -1,11 +1,14 @@ module Spotlight ## # Exhibit-specific metadata for indexed documents class SolrDocumentSidecar < ActiveRecord::Base belongs_to :exhibit, required: true + belongs_to :resource belongs_to :document, required: true, polymorphic: true serialize :data, Hash + + store :data, accessors: [:index_status] delegate :has_key?, :key?, to: :data def to_solr { document.class.unique_key.to_sym => document.id,