views:

129

answers:

1

hi!

I've problem with the search module in drupal. When I do a seach, it return 0 results even-though there are patterns matching. I ran the cron manually and flushed the cache. Now, the search module works fine.

I wanna know whether I should do this procedure regularly for the search module to work?

thanks.

+2  A: 

clearing cache is not need, running cron is main
read here how to do: http://drupal.org/cron

Nikit
if you don't like command line setups, just install and configure poormanscron: http://drupal.org/project/poormanscron
Nikit
so, withour running cron, the search won't fetch results from latest posts?
Sam
@Sam: Yup, the search index gets build on cron runs only, so no correct search results without cron! (this also means that it can take some time before new content shows up in search results, depending how often your cron.php gets called and how much new content was added in the meantime - for huge amounts of new content, it can take several cron cycles till the indexing is complete)
Henrik Opel
@Henrik Opel, thanks for ur info. It was very helpful. Thanks and +1
Sam

related questions