When we encounter a records Alma claims is deleted, attempt to retrieve a current version of the record to confirm deletion.
According to the OAI spec, the datestamp of a deleted record is the date when it was deleted. Therefore, we can confirm a record has truly been deleted if, after attempting to get the single record, we either get an error for the id not existing, or the datestamp of the record returned is not after the original datestamp.
If the record returned has a newer datestamp, it should be processed as normal.
When we encounter a records Alma claims is deleted, attempt to retrieve a current version of the record to confirm deletion.
According to the OAI spec, the
datestamp
of a deleted record is the date when it was deleted. Therefore, we can confirm a record has truly been deleted if, after attempting to get the single record, we either get an error for the id not existing, or thedatestamp
of the record returned is not after the originaldatestamp
.If the record returned has a newer
datestamp
, it should be processed as normal.