By Pushkar Gaikwad on
I was just wondering (I am pretty sure) that search index only updates once in cron update (which is normally 24 hours). So this means pages created today won't be shown in search until tomorrow ?
Is there anyway I can make it fast ? I don't want to run cron.php in every 3 hour, just want to make sure the search is upto date.
Comments
Search index is done on
Search index is done on cron, so there is no way that your content is indexed without running a cron. Maybe have a look @ http://drupal.org/project/poormanscron if this solves your problem.
Loving Life,
Tosho Freny,
Cron Can Run More Often
You can set up cron to run more often if you like. I have cron on my sites setup to run hourly. See my post titled, Getting To Know Cron (http://learnbythedrop.com/drop/40), for more information.
Rob Safuto
Learn By The Drop is a place to learn Drupal. If you're new to Drupal I recommend having a look at my Beginner's Guide To Drupal.
but what is the
but what is the performance/resource cost of running cron hourly ? also I also wanted to send daily newsletters which will also be affected by cron which I don't want. I just want to run the search index on hourly basis, how to do it ?
The performance/resource
The performance/resource cost depends on your hosting situation, the amount of tasks that cron triggers and the level of traffic you get to your site. I have a couple of sites on a shared web host and running cron hourly does not cause me problems. I'm using it to do three things: Provide notifications of new content, Index for search, and aggregating a few RSS feeds.
Rob Safuto
Learn By The Drop is a place to learn Drupal. If you're new to Drupal I recommend having a look at my Beginner's Guide To Drupal.
Running every 5 minutes
Is it a big overhead if you run it every 5 minutes?
I have content that is getting published by different user roles and I need it to get indexed to appear in search results.
Thanks and kind regards,