Closed (fixed)
Project:
Search Lucene API
Version:
6.x-1.4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Aug 2009 at 15:51 UTC
Updated:
26 Aug 2009 at 19:57 UTC
Interspersed with valid search results are a number of results that have no title and have "The contents of the page could not be retrieved" as snippet.
I've cleared the search results cache.
Comments
Comment #1
cpliakas commentedCan you get the node ID's of the results returning this message, and can you try to load the nodes in your installation? I am curious to see why the nodes cannot be loaded. You can find the nid by adding the following code after the array starting on line 394 in contrib/luceneapi_node/luceneapi_node.module.
This will log the error and display the nid to the screen if the user has permission to see it. I should probably add this code to all versions of the module. Search Lucene API should be cleaning up the nodes as they are deleted, but it obviously isn't happening in your case.
Thanks, and sorry for your troubles.
~Chris
Comment #2
cpliakas commentedChanging status to a bug report.
Comment #3
slnm commentedI wiped away the lucene index directory and the problem went away on the next indexing. I'm loading a bunch of records by creating objects and using node_save and then later deleting them using node_delete. Next time I run into the problem I'll do your debugging step.
Thanks for the quick response!
Comment #4
cpliakas commentedSounds good, and thanks for posting the issue. I am going to leave it open for now, as it has been a problem in the past. The following issue is similar: #528060: Search Results include links titled "Page not found".
Comment #5
slnm commentedI've not been able to reproduce this so I won't be upset if you close it.
Comment #6
cpliakas commentedClosing after weeks of inactivity.