When I click the "reindex" link on the search admin page, I got the following messages:
--------------------------------------
index invalidated
Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/drop.org/includes/database.mysql.inc on line 46
--------------------------------------

Is "index invalidated" a debug message? If not, we might want to wrap it in a status() function like the other modules do. Also, is "reindex" a correct English word?

As for the timeout, my database is not *that* big but I can image it to be a time-consuming task. Take a look at how we "fixed" this in cron.php maybe or try making the indexing logic faster.

Comments

Anonymous’s picture

The "index invalidated" is a message the module pops out to let the user that is reindexing know that the old index has been removed and that its starting work on re-indexing.

As for the time limit that should be easy to fix by increasing the time limit.

Anonymous’s picture

Component: Code » search.module
ax’s picture

Priority: Major » Normal

patch (set_time_limit(0); using status()) in my sandbox [1]. patch description at [2].

[1] http://cvs.drupal.org/viewcvs/contributions/sandbox/ax/search/?cvsroot=contrib
[2] http://drupal.kollm.org/node/view/5

avpaderno’s picture

Version: x.y.z » 9.x-dev
Status: Closed (works as designed) » Active
avpaderno’s picture

Status: Active » Closed (outdated)

Version: 9.x-dev » 9.0.x-dev

The 9.0.x branch will open for development soon, and the placeholder 9.x branch should no longer be used. Only issues that require a new major version should be filed against 9.0.x (for example, removing deprecated code or updating dependency major versions). New developments and disruptive changes that are allowed in a minor version should be filed against 8.9.x, and significant new features will be moved to 9.1.x at committer discretion. For more information see the Allowed changes during the Drupal 8 and 9 release cycles and the Drupal 9.0.0 release plan.