How to get search to work?

wdrupal - April 15, 2006 - 02:47

For some reason I cannot search content on any of my Drupal installations. Is there something else you have to do to enable the search box. It always says no results returned. Is cron something that you have to enable on the server, or in Drupal?

Yes

blarg - April 15, 2006 - 02:59

You need to have your cron.php executing. The search only searches the index which is created/updated every time that file is run. You can use the poor man's cron module if you don't have access to a cron tab.

Also go to administer -> settings -> search and adjust those settings if you'd like.

Thanks

wdrupal - April 15, 2006 - 04:08

That worked.

Poormanscron

Muslim guy - April 15, 2006 - 05:22

Cron.php has to be run immediately if say you have new contents and your site is popular.

Install poormanscron.module (no SQL required) and set the time to run minimum 60 minutes, or longer intervals.

Also you might want to do a `Popular search / Sponsored Search' (not Google search) from your site.

See my post somewhere `Proposed Search block with Popular Search'

________________________________________________________________________________
Internet for ISLAM, get to know Islam and Muslims :) May Allah brings you to the Straight Path
http://muslimin.org/Islam
----------------------------

 
 

Drupal is a registered trademark of Dries Buytaert.