app/models/spotlight/resource.rb in blacklight-spotlight-2.2.1 vs app/models/spotlight/resource.rb in blacklight-spotlight-2.3.0
- old
+ new
@@ -88,9 +88,10 @@
headers: { 'Content-Type' => 'application/json' }
end
def commit
return unless write?
+
blacklight_solr.commit
rescue => e
Rails.logger.warn "Unable to commit to solr: #{e}"
end