lib/tasks/spotlight_tasks.rake in blacklight-spotlight-0.7.0 vs lib/tasks/spotlight_tasks.rake in blacklight-spotlight-0.7.1
- old
+ new
@@ -45,9 +45,11 @@
exhibit.import data
exhibit.save!
+ exhibit.reindex_later
+
puts Spotlight::ExhibitExportSerializer.new(exhibit.reload).to_json
end
def prompt_to_create_user
User.find_or_create_by!(email: prompt_for_email) do |u|