Posted by rrondeau on September 16, 2008 at 8:26pm
Jump to:
| Project: | xapian |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Jeremy |
| Status: | closed (fixed) |
Issue Summary
If you search in the drupal.or using the search form in the right collums you occasionaly get result linking to page with "Access Denied"
Ie: The seartcg inputed was security (http://drupal.org/search/node/security) and the third result (Drupal security) is leading to http://drupal.org/node/445. We do see both the title and the teaser, but we cannot access the page.
Comments
#1
I think this is a xapian bug.
#2
Yes, looking at the code the only way a node that's already been indexed will be removed from the index is if it's deleted. If it's unpublished, such as node/445, it does not get removed.
This comment is to confirm that the bug is with the Xapian module. I hope to have time in the next couple of days to fix this, unless someone else happily beats me to it.
#3
I checked in a fix for this bug. If a node is unpublished during an update, it will be removed from the index. Be sure to also run update.php, which will remove any nodes that were previously unpublished before this fix was committed, such as node 445.
#4
Automatically closed -- issue fixed for two weeks with no activity.