OAI-PMH in FOLIO supports two approaches of honoring suppress from discovery flag, described in
It also can be configured to apply one of three levels of support for deleted records as per
In case when a record was harvested and then became suppressed and deleted, specific configuration values would cause the situation where EDS isn't aware of previously harvested record deletion.
In order to prevent such case, OAI-PMH should value deletion over suppression and add deleted record (tracked by deletion history) to the feed even if it is suppressed (suppressDiscovery=true). This behavior should work for the next configuration:
- Suppressed records processing = Skip suppressed from discovery records
- Deleted records support = Persistent or Transient
- For the described above configuration OAI-PMH includes deleted records in the feed regardless of suppressDiscovery flag value
- Included deleted records should still correspond to request parameters and deleted records view (consist of the only header with "status" attribute as per http://www.openarchives.org/OAI/2.0/openarchivesprotocol.htm#DeletedRecords)
See diagram which shows the implementation flow using current SRS API attached.