SRS is adding a flag to indicate whether or not the record should be suppressed from discovery (ignored by OAI-PMH). A similar field already exists in the instance record. These fields are kept in sync, i.e. when Inventory instance flag is changed it is reflected in SRS record. When searching/querying SRS criteria should be added to filter out instances with suppressDiscovery=true. Once we retrieve the source record from SRS, we should also check if suppressDiscovery (see additionalInfo field in SRS record example below) is true. If it is true, we should skip the record.
- The flag is honored for instance records types: suppressed record shouldn't be added to the OAI-PMH ListRecords and ListIdentifiers response. However, GetResponse should still show requested record even if it is suppressed.
- Provide the result time of a request before the additional filter was applied and after in comments to this ticket
Unit and API tests will be updated in scope of
Note: the ability to choose a behavior (whether suppressed record is skipped or this flag is sent in response) should be implemented in future, but not in the scope of this story.