Does an indexing server need to be a mediawiki server?

Jump to: navigation, search

I am following the instructions to put the indexer on a different host. Let's say the original MediaWiki/Lucene host is called MW and the new index server is called IS. After installing Java, configuring stuff as documented, and copying my lucene-search directory tree from MW to IS, I start up lsearchd and get this warning:

0    [main] INFO  org.wikimedia.lsearch.util.Localization  - Reading localization for En
5    [main] WARN  org.wikimedia.lsearch.util.Localization  - Error processing message file at
 file:///var/www/html/w/languages/messages/MessagesEn.php
java.io.FileNotFoundException: /var/www/html/w/languages/messages/MessagesEn.php
 (No such file or directory)

This is clearly happening because MediaWiki is not installed on index server IS. However, lsearchd starts up fine, and when I run the update script on IS, the resulting index gets properly rsync'ed to host MW. Searches on MW seem to be working fine.

My question is: does host IS also need a full MediaWiki installation on it? Or just the file tree? Or if I do neither (as above), how serious is the warning message above? Thanks.

Maiden taiwan18:21, 7 June 2011

The only thing that the indexer needs are the Message files where it gets the localized namespace names from (to be able to parse the links in articles correctly). If you are using english, this warning shouldn't be a problem as canonical names are already supported even without the message file.

Rainman09:44, 9 June 2011
 
Personal tools

Variants
Actions
Navigation
Support
Download
Development
Communication
Toolbox