{apachesolr_search_node} table should be rebuilt when index is deleted

pwolanin - July 3, 2009 - 17:05
Project:Apache Solr Search Integration
Version:6.x-2.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

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.

#1

pwolanin - July 3, 2009 - 17:09
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
AttachmentSize
rebuild-table-509526-1.patch 2 KB

#2

anarchivist - July 6, 2009 - 15:54

+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

pwolanin - July 16, 2009 - 04:17
Status:needs review» patch (to be ported)

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

#4

pwolanin - July 16, 2009 - 04:17
Version:6.x-1.x-dev» 6.x-2.x-dev

#5

robertDouglass - July 16, 2009 - 09:28
Status:patch (to be ported)» fixed

fixed in 6.2

#6

System Message - July 30, 2009 - 09:30
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.