[Mediawiki-l] Search fails after MediaWiki 1.9.2 -> 1.16.0 upgrade

Daniel Bishop aerosatar at gmail.com
Mon Nov 15 21:45:24 UTC 2010


Hi,

Try running the "updateSearchIndex.php" maintenance script (in the
/maintenance directory) from the command line to see if that corrects the
issue.

Regards,
Daniel

-----Original Message-----
From: mediawiki-l-bounces at lists.wikimedia.org
[mailto:mediawiki-l-bounces at lists.wikimedia.org] On Behalf Of
roger at rogerchrisman.com
Sent: 15 November 2010 21:11
To: mediawiki-l at lists.wikimedia.org
Subject: [Mediawiki-l] Search fails after MediaWiki 1.9.2 -> 1.16.0 upgrade

Hi,

Two weeks ago I upgraded my wiki, http://wikigogy.org, from MediaWiki
1.9.2 to 1.16.0.

Maintenance/update.php ran fine (after I removed the leading './' from the
path to Bad Behavior in LocalSettings.php which had thrown a warning the
first time through).

I now see that _search_ is not finding all pages it should: I _think_ search
is finding only pages that have been edited post upgrade!

Example:

First this search found only one page:
http://wikigogy.org/index.php?title=Special%3ASearch&redirs=1&search=approac
h+and+method&fulltext=Search&ns0=1

       [[Natural approach]]

Then I did a trivial edit at the end of another page that I knew search
should have found, [[Method, approach and strategy]], repeated the same
search and it found both:

       [[Natural approach]]
       [[Method, approach and strategy]]

Any idea why this is happening?

Is there a maintenance script I can run that will "touch" every page on my
wiki so that search will search them all again as usual?

A better way to solve this?

I have shell access to my wiki server and will happily provide any
additional info that will help solve this puzzle.

My LocalSettings.php has nothing about "Search" in it, but in contains the
word "Cache" here:

## Shared memory settings
$wgMainCacheType = CACHE_NONE;
$wgMemCachedServers = array();

and there:

# When you make changes to this configuration file, this will make # sure
that cached pages are cleared.
$configdate = gmdate( 'YmdHis', @filemtime( __FILE__ ) ); $wgCacheEpoch =
max( $wgCacheEpoch, $configdate );

Is that relevant in any way?

Thank you,

Roger Chrisman --Wikigogy.org
MediaWiki 	1.16.0
PHP 	5.2.14 (litespeed)
MySQL 	5.0.91-community-log

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l at lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l




More information about the MediaWiki-l mailing list