Posted by zengenuity on January 26, 2012 at 9:32pm
4 followers
| Project: | Apache Solr Search Integration |
| Version: | 6.x-3.x-dev |
| Component: | Node access |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
Came across this error while running a node access rebuild. It appears that this function has been removed and replaced with apachesolr_set_last_index_updated(). So, I've replaced:
apachesolr_index_set_last_updated();
with
apachesolr_set_last_index_updated(apachesolr_default_environment());
This works for me, but I'm not totally sure about the apachesolr_default_environment() part. Do I need to worry about other environments? A patch of this change is attached.
| Attachment | Size | Status | Test result | Operations |
|---|---|---|---|---|
| apachesolr_access_nodeaccess_rebuild.patch | 635 bytes | Idle | PASSED: [[SimpleTest]]: [MySQL] 397 pass(es). | View details |
Comments
#1
Good catch,
I suppose we should somehow find out for what environment someone would want to rebuild the nodeaccess? Is there any info that would allow us to do so?
#2
We only index to the default environment right now, so I think this is ok.
#3
Ugh, I think that's the totally wrong function to call.
#4
#5
plus new test assertions
#6
committed to 7.x
#7
Committed to 6.x-3.x
#8