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.

CommentFileSizeAuthor
#1 check_entity_index-2487820.patch1.21 KBrahulbile
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

rahulbile’s picture

Attach is my initial fix for this. There could be more better way to handle this.

rahulbile’s picture

rahulbile’s picture

Status: Active » Needs work
rahulbile’s picture

Status: Needs work » Needs review
Spleshka’s picture

Status: Needs review » Reviewed & tested by the community

Patch looks good to me, thanks Rahul. I'd be happy to see it commited.

japerry’s picture

Status: Reviewed & tested by the community » Closed (duplicate)

Already fixed