Is there a way to force the search index to be recreated from scratch?

Or better yet, is there some way I can figure out why my search index isn't current? That is, there are nodes that are definitely not indexed... terms in those nodes are not in search_index or search_total. I try running cron.php directly, but it's unclear whether anything happens.

Thoughts?

Thanks,

dwh

Comments

bostonccj’s picture

I'm trying to figure out the same thing and I can't seem to find it in any of my search's on this site. Nothing seems to come up.

bugz_nz’s picture

If you go to admin/settings/search you can see the status of your current search index.

Running cron.php manually will always return a blank page, however, it should make a log entry into watchdog which will tell you whether or not the last cron run was successful.

Hope that helps...

denishaskin’s picture

Well, the cron jobs are reporting success.

denishaskin’s picture

I did some SQL queries and there is content I added about 2 weeks ago that is not in search_index. Given that I'm running the cron job about every 7 minutes, it should be in the index.

I'm stumped...

denishaskin’s picture

Okay, the default search module seems to be pretty much deprecated. I've dropped trip_search (aka SQL Search - http://drupal.org/project/trip_search) into my local test setup, seems to work fine... I'm going to put it on the live site now.