Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
When any of the entity is deleted, apachesolr_entity_delete gets called even when the entity is marked as non index-able
Proposed resolution
Check if the entity is marked as indexable and than call apachesolr_entity_delete.
Comment | File | Size | Author |
---|---|---|---|
#1 | check_entity_index-2487820.patch | 1.21 KB | rahulbile |
Comments
Comment #1
rahulbile CreditAttribution: rahulbile commentedAttach is my initial fix for this. There could be more better way to handle this.
Comment #2
rahulbile CreditAttribution: rahulbile at SystemSeed commentedComment #3
rahulbile CreditAttribution: rahulbile at SystemSeed commentedComment #4
rahulbile CreditAttribution: rahulbile at SystemSeed commentedComment #5
SpleshkaPatch looks good to me, thanks Rahul. I'd be happy to see it commited.
Comment #6
japerryAlready fixed