Skip to content
Tiffany Chan edited this page Mar 21, 2023 · 7 revisions

Overview: How FAST Update Works

A diagram showing how Fast Updater parses and executes changes. Step 1: Download and parse .xlsx files from the Fast Changes website. Step 2: Process new headings by searching the repository for the string of characters to replace. Then replace the string with the URI. Step 3: Search the repository for outdated labels that need to be modified and replace the old labels with the new ones. Step 4: Send staff a list of any split and deprecated headings in the repository that require intervention.

Note: I have numbered the steps 1 to 4 for convenience. In practice, steps 2-4 occur simultaneously and are processed by Sidekiq.

Step 1: Download and Parse Changes

Visit the FAST Changes webpage and parse the HTML for links to the relevant Excel files. Then download the files and parse them for applicable changes.

Associated Files

Step 2: Handle New Headings

"New Headings" are when FAST assigns a URI to an entity that did not previously have one. In this case, we need to search for the (literal) string, then swap it out with the URI. See the New and Modified Headings page for more.

Associated Files

Step 3: Handle Modified Headings

"Modified Headings" are when FAST updates the human-readable label associated with a URI, such as updating the label with someone's death date (e.g. "Elizabeth II, Queen of Great Britain, 1926-" to "Elizabeth II, Queen of Great Britain, 1926-2022"). Since we display these labels to end-users, we need to update them by simply reindexing them. During reindexing, Hyrax will hit the FAST API and thus index the updated label.

See the New and Modified Headings page for more.

Associated Files

Step 4: Handle Split and Deprecated Headings

When FAST Updater finds split or deprecated headings, it will email a configured email address (see Configuration) a list of headings along with any suggestions from FAST. Then someone with the relevant permissions can use the "Replace or Delete FAST URIs" tool to make the necessary changes.

Associated Files