I spent a good portion of today installing the search engine patch available here http://drupal.org/node/12232. I have no errors, the interface is showing, and I can even look up users. However, I cannot look up content because my cron run is not updating the search index. The cron run works, I'm using poormanscron, but the search index is not updated. Logs are updated. This installation is my 'test' database...an exact copy of my other in which the cron run updates the index on the 'older search engine'. The problem is somewhere with my patch installation. The box at the bottom of /search/admin says 'Approximately 0% of your site updated'. Is this an issue with the patch? I'm using the 60.59kb patch with 4.5, which is the version the patch is for. Do I need additional tweaks? ALL guidance is greatly appreciated. Also, thank you Steven for your work...it's a huge improvement.

Thanks,
larry

Comments

larry’s picture

In addition I've gone into the variables table and set both 'node_cron_last' and 'comment_cron_last' to '0000000000'. Still nothing. Everything else is working...the search index just will not respond to cron runs and allow me to rebuild the index. Any suggestions?

thanks,
larry

--There are no Kangaroos in Austria--

larry’s picture

Am I the only one that has installed this patch and encountered a cron problem. I have gone through the forums and tried just about everything...nothing works. The patch is for 4.5, but I'm starting to have my doubts. Has ANYONE else installed this patch?

Thanks,
larry

--There are no Kangaroos in Austria--

TDobes’s picture

The patch was for CVS, not 4.5. They may be similar enough that the patch can still be applied successfully.

I believe it was also necessary to makes some changes to the search tables (I don't recall), so you might have to run update.php. The update script should also clear your existing search index. Note that, for large sites, it will take several runs of cron.php to fully re-index your site. If things don't work with poormanscron.module, perhaps try hitting cron.php manually from your browser to see if things are being indexed. You can see the status of indexing by heading over to administer > settings > search.

Disclaimer: My advice is based upon how this works with CVS. Things may be broken/different under 4.5. Other changes (i.e. bugfixes) may also have been committed after the large patch you're using. Check the CVS logs to know for sure.

larry’s picture

I appreciate your reply. I was under the impression that the patch was for 4.5 as the project version states 4.5. In any case, I thank you for your advice. I did not know if I was even on the right track or just wasting time and your helpful clarification gave me something to work with...it's much appreciated.

Thanks again,
larry

--There are no Kangaroos in Austria--

TDobes’s picture

After the search patch was completed, committed, and the issue was closed, someone changed the version and title of the thread while asking a support question. I have changed them back to the appropriate values and redirected that person elsewhere. Sorry about the mix-up.