SolrMarc does have the capability of deleting records from the Solr
index. It is not configured to specifically look for a 'd' in the
Leader, since different sites use different techniques for denoting
which records should be deleted. For instance, our system merely
provides a .txt file listing the ids of the records that are to be deleted.
Adding the following entries to your indexing specification file should
accomplish what you want:
deleted_display = 000[5], (map.delete_record_map), DeleteRecordIfFieldEmpty
map.delete_record_map.d = null
map.delete_record_map = keep
This says map the letter 'd' in the character 5 of the leader to the
special 'null' value, if any other value is found there, return the
string "keep" which will then be added to the Solr record in a field
named "deleted_display"
-Robert Haschart