No results in search
I was going through my site today preparing for a demo tomorrow and discovered that search does not appear to be working. Quicksearch for both Providence and Pawtucket doesn't return any results nor does Advanced Search in Providence. Browse is OK. The last time it worked was two days ago. We set up some search forms for representations and were with using set tools to add objects to sets.
I don't want to monkey around too much with configs or source code on the eve of a demo, but based on some other discussion threads here I have deleted the contents of app/tmp and pawtucket/app/tmp. I've run the maintenance for rebuilding the search indices. I've made sure search cache is disabled where applicable. It was off in Providence but not Pawtucket.
Thanks for any troubleshooting hints you might have.
I'd also add that I'm seeing this error a lot in debugging:
[/app/lib/core/Search/SearchEngine.php@217] SEARCH cache miss for 787fc1cc4e472ab3a7abc448199ea1f6
[/app/lib/ca/Browse/BrowseEngine.php@1012] Cache expire for a36c6e9d1d6b5692085c717aaf480fdainfo
[/app/lib/core/Search/SearchEngine.php@217] SEARCH cache miss for 7316603a7f515db4e8e78d683c54a341info
[/app/lib/core/Search/SearchEngine.php@217] SEARCH cache miss for 7316603a7f515db4e8e78d683c54a341info
Comments
Search did seem to have been working mostly ok until I re-indexed one last time today (why, oh why did I do that?), which appears to have broken it.
So I'm wondering about troubleshooting steps.
Thanks for any suggestions.
aj
http://marmi.taylorhartley.us
I switched to the updated default theme and saw the same problem. I also see it in the Providence UI.
The interesting thing is that the wildcard returns the number of results I'd expect, but if I use any word that's in a description, name or entity, I don't get any results.
But I'm done with this phase of the project; we'd just finished needing the search forms. So if you think it would be a good idea to move the default conf files back in place and rebuild the indices then I could try that. Or if there's something in the database I could look at, I'd be open to suggestions.
Thanks...
In the mean time, I went dumpster diving through Apache log files. A grep for "Search" seems to have revealed an out-of-memory error for php during indexing. Looks promising. I'll fiddle with that. No need to respond unless this elicits something you've seen before. I'll report back. The entries seem to correspond to when I first made this thread.
Sample (remaining errors attached):
PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 1153083 bytes) in /var/www/html/cax/app/lib/core/Db/mysqli.php on line 316, referer: http://ca.taylorhartley.us/administrate/maintenance/SearchReindex/Index
Thanks a lot!