-
Notifications
You must be signed in to change notification settings - Fork 0
Ingestion
Kevin Worthington edited this page Sep 11, 2023
·
1 revision
When ingesting resources into the Solr search engine, the status value for a resource can help determine what gets ingested. The status options are as follows with their two character code in brackets:
- Needs Review (nr)- default setting for harvested records
- Approved for Staging (as)
- In Staging (is)
- Approved for Production (ap)
- In Production (ip)
- Remove from Staging (rs)
- Remove from Production (rp)
A typical ingest command looks like this:
python manage.py ingest -s 'as' -e 1
-e is the endpoint id from the management system -s is the two character status code, typically 'as' or 'ap', though any of the two character status codes can be used
Other Arguments -n is for preventing a status promotion from
- Approved for Staging to In Staging
- Or Approved for Production to In Production
-r is for reference ids to target for ingestion Note: Be sure to include a status value so child records can be retrieved too ;)
-j when you simply want to ingest the files in the 'json' folder