Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By denishaskin on
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
Good Question
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.
If you go to
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...
cron doesn't tell me a whole lot...
Well, the cron jobs are reporting success.
fwiw...
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...
switching to trip_search
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.