mjordan / islandora_bulk_delete

A utility module that does one thing: deletes all the objects in an Islandora collection (or optionally, all issues and pages in a newspaper object). Use this tool carefully. It is dangerous.
GNU General Public License v3.0
7 stars 4 forks source link

Objects not deleted from Solr index #8

Open bondjimbond opened 3 years ago

bondjimbond commented 3 years ago

When the bulk deleter runs, objects deleted remain in Solr. I've gone through this several times and it keeps cropping up.

Only one error appears:

# drush -v -u 1 iChainsaw --pid_file=/home/brandonw/bcrdh_delete.txt -y
Initialized Drupal 7.82 root directory at /var/www/html/drupal7                                                                                                                                   [notice]
Initialized Drupal site default at sites/default                                                                                                                                                  [notice]
Undefined variable: query islandora_bulk_delete.drush.inc:129    

I don't know whether this is related to the problem or not.

This is happening specifically with newspaper issues.

mjordan commented 3 years ago

I just deleted about 400 book pages and can confirm that their Solr documents were purged automatically. This module relies on Drupals/Islandora's hooks to clean up, just like they would if an object was manually deleted.

bondjimbond commented 3 years ago

I've been deleting on a much larger scale than that, so perhaps the number of requests is the issue?

mjordan commented 3 years ago

Sounds plausible