-
Story
-
Resolution: Done
-
High
-
None
-
S23 SIMPLY Nov1-Nov15
When we need to reindex a Work, we delete a WorkRecord for that book. A script runs periodically and reindexes all Works that don't have the corresponding WorkRecord.
We need a similar script that makes sure all Works have up-to-date presentations. Whenever something happens that causes a large number of Works to have their presentation recalculated, we should be able to delete a bunch of WorkRecords in a migration script and let the script run in the background, chugging away. Currently we have to recalculate the presentation for one work at a time.
This is necessary on the circulation manager to repair fallout from https://jira.nypl.org/browse/SIMPLY-1306. It's necessary on the metadata wrangler to repair fallout fromĀ https://jira.nypl.org/browse/SIMPLY-340