app/models/concerns/spotlight/solr_document/atomic_updates.rb in blacklight-spotlight-2.2.1 vs app/models/concerns/spotlight/solr_document/atomic_updates.rb in blacklight-spotlight-2.3.0

- old
+ new

@@ -3,9 +3,10 @@ ## # Solr indexing strategy using Solr's Atomic Updates module AtomicUpdates def reindex return unless write? + data = hash_for_solr_update(to_solr) blacklight_solr.update params: { commitWithin: 500 }, data: data.to_json, headers: { 'Content-Type' => 'application/json' } unless data.empty? end