[Mediawiki-l] MWSearchUpdater setup instructions?

Daniel Barrett danb at VistaPrint.com
Tue Sep 15 14:55:40 UTC 2009


For the MWSearch extension for Lucene, where can I find instructions for using
the MWSearchUpdater.php and MWSearchUpdateHooks.php features?
I'd like to update the Lucene index on every article save/move/delete. But I can't get this working.

I have Lucene 2.1 running just fine with MediaWiki 1.15, serving search queries.
I also have PEAR XML_RPC installed. But when I try:

$  php luceneUpdate.php status
Unknown XML-RPC error

LocalSettings.php contains:
# Lucene search
$wgSearchType = 'LuceneSearch';
$wgLuceneHost = 'localhost';
$wgLucenePort = 8123;
require_once("extensions/MWSearch/MWSearch.php");
$wgLuceneSearchVersion = 2.1;
require_once("extensions/MWSearch/MWSearchUpdateHook.php");

I noticed that MWSearchUpdater.php has $mwSearchUpdatePort = 8124 rather than 8123,
but when I change it to 8123, I get a 404 and lsearchd says "Unknown request /SearchUpdater".

Thanks for any help.

DanB




More information about the MediaWiki-l mailing list