Uploaded image for project: 'SimplyE 2.0'
  1. SimplyE 2.0
  2. SIMPLY-1397

Create a script that automatically recalculates presentation for works

XMLWordPrintable

    • 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

            leonardrichardson Leonard Richardson [X] (Inactive)
            leonardrichardson Leonard Richardson [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: