When a administrator issues an re-index of all bundles it also clears the complete cache of extracted text. This should not happen unless the administrator explicitly clicks the action : clear text extraction cache in the admin UI

CommentFileSizeAuthor
#1 1531988-1.patch490 bytesnick_vh

Comments

nick_vh’s picture

StatusFileSize
new490 bytes
nick_vh’s picture

Status: Active » Fixed

Only delete entries where our body is empty. The re-index callback will change all the other fields so they will be reindexed except for the extracted file part.
This makes re-indexing easier to do.
A follow up to this patch should be to verify if we do not have kept left-overs in our table. We could do this by deleting everything except for the ids that we have fetched in _apachesolr_attachments_get_all_files()?

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.