Multilanguage wiki farm that searches multiple databases?

Jump to: navigation, search

Our multilanguage wiki farm (one database per wiki, one single code tree) has a lucene config (below) where each host searches only the content in its own database. How can we change this so one of the sites (say, "fr") searches not only its own database (fr_wikidb), but also a second database (en_wikidb)? Thanks.

[Database]
en_wikidb : (single) (spell,4,2) (language,en)
de_wikidb : (single) (spell,4,2) (language,de)
fr_wikidb : (single) (spell,4,2) (language,fr)

[Search-Group]
myhost : *

[Index]
myhost : *

[Index-Path]
<default> : /search

[OAI]
<default> : http://myhost/w/index.php
en_wikidb : http://en.myhost.net/w/index.php
de_wikidb : http://de.myhost.net/w/index.php
fr_wikidb : http://fr.myhost.net/w/index.php
Maiden taiwan17:31, 27 January 2012

Unfortunately, this is not possible at this moment. One workaround would be to dump both databases into one XML dump file and then create another "virtual" database with that, but then MediaWiki would also need to know how to properly handle these search results (in terms of providing the link to the correct site/article).

Rainman15:47, 28 January 2012
 
Personal tools

Variants
Actions
Navigation
Support
Download
Development
Communication
Toolbox