Download & Extend

{apachesolr_search_node} table should be rebuilt when index is deleted

Project:Apache Solr Search Integration
Version:6.x-2.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

Currently we use {apachesolr_search_node} to track not only which nodes need to be updated, but also whether there were past attempts to delete a document (e.g. a deleted or unpublished node) which failed. This latter information become irrelevant if we delete the Solr index, so we shoudl rebuild this table fully to avoid making lots of extra irrelevant delete requests.

This is also important for development sites which may be doing bulk deletes of nodes - after such an operation deleting the index is likely to be more efficient than sending all those individual delete requests.

Comments

#1

Title:{apachesolr_search_node} table shoudl be rebuilt when index is deleted» {apachesolr_search_node} table should be rebuilt when index is deleted
Status:active» needs review
AttachmentSizeStatusTest resultOperations
rebuild-table-509526-1.patch2 KBIgnored: Check issue status.NoneNone

#2

+1 on this from me - this is one of the steps I added in my sample code to handle the batch reindexing process in #456420: Add Batch API support for rebuilding indexes.

#3

Status:needs review» patch (to be ported)

committed to 6.x-1.x - needs to be ported to 6.x-2.x

#4

Version:6.x-1.x-dev» 6.x-2.x-dev

#5

Status:patch (to be ported)» fixed

fixed in 6.2

#6

Status:fixed» closed (fixed)

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

nobody click here