Skip to content
This repository was archived by the owner on May 17, 2026. It is now read-only.

ActiveFedora: Reindex all works

mankind edited this page Oct 12, 2022 · 3 revisions

If your indexes get out of sync, you may not be able to delete anything. To resync Fedora and Solr, you can use the following:

If you are using hyku, you must first do *AccountElevator.switch!(write your account cname)

ActiveFedora::Base.reindex_everything

Also note that you can run the above command via a background job using: https://github.com/samvera/hyrax/blob/2.x-stable/app/jobs/resolrize_job.rb

ResolrizeJob.perform_later

Clone this wiki locally