{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
#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
committed to 6.x-1.x - needs to be ported to 6.x-2.x
#4
#5
fixed in 6.2
#6
Automatically closed -- issue fixed for 2 weeks with no activity.