Closed reginafcompton closed 1 year ago
I documented the steps for manual removal.
Next, we will automate this process using management commands in OCD API and django-councilmatic.
No longer necessary! We don't have an OCD database, we have a new DAG to remove entities we haven't seen in a scrape for a week from the DB, and the Haystack update index commands are configured to remove documents from the index that are no longer in the DB.
Occasionally, we have to remove bills from Councilmanic.
The workflow we’ve followed: (1) remove it from the OCD API database, (2) remove it from the Councilmanic downloads folder on the server, (3) remove it from the Councilmanic database. To this workflow, we need to add a fourth step: (4) remove the bill from Solr (or just run rebuild_index).
First, let's document this process.