Page MenuHomePhabricator

forceSearchIndex.php spits out warnings if it doesn't index any pages
Closed, ResolvedPublic

Description

This:

manybubbles@deployment-bastion:~$ sudo -u mwdeploy mwscript extensions/CirrusSearch/forceSearchIndex.php --wiki aawiki
PHP Notice: Undefined variable: rate in /data/project/apache/common-local/php-master/extensions/CirrusSearch/forceSearchIndex.php on line 116

Notice: Undefined variable: rate in /data/project/apache/common-local/php-master/extensions/CirrusSearch/forceSearchIndex.php on line 116
Indexed a total of 0 pages at /second
manybubbles@deployment-bastion:~$


Version: unspecified
Severity: normal

Details

Reference
bz52348

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:09 AM
bzimport added a project: CirrusSearch.
bzimport set Reference to bz52348.
bzimport added a subscriber: Unknown Object (MLST).

Change 77051 had a related patch set uploaded by Demon:
Unconditionally define indexing rate to avoid warnings

https://gerrit.wikimedia.org/r/77051

Change 77051 merged by jenkins-bot:
Unconditionally define indexing rate to avoid warnings

https://gerrit.wikimedia.org/r/77051