Extension:LuceneSearch

Obsolete in 1.13
The extension will be deprecated in MW 1.13. User interface is getting merged into the MediaWiki core, and back-end is now a separate extension Extension:MWSearch.

What can this extension do?
Full-text search based on Lucene. Features:
 * distributed search/indexing
 * accentless search, stemmers for 12 languages
 * link analysis for ranking
 * namespace-prefixed queries

This extension is only the MediaWiki special page used to fetch results from MediaWiki Lucene-based search engine.

Installing MediaWiki Extension
First, install Extension:ExtensionFunctions.php. Then put into your LocalSettings.php. wgLuceneHost can be an array of hosts.

Using search (namespace) prefixes
Searches can be prefixed with canonical namespace names, or localized namespace names. E.g. entering into search box: help:images will search the "Help" namespace for occurances of the word "images". There is also a special prefix all, which instructs the search engine to search everything (by default only the "main" namespace is searched).

Note that spaces are not allowed between the namespace name and the colon.

To search more than one namespace, comma-separate their names. e.g. help,project:images.

Customizing namespace prefixes
To specify custom prefixes that will combine different namespaces, edit MediaWiki:Searchaliases. Here is a sample entry: wp|Project all_talk|Talk,User_talk,Image_talk,MediaWiki_talk,Template_talk,Help_talk,Category_talk

So, the syntax is: "alias|&lt;list of namespaces&gt;" per line. Localize the all keyword by editing MediaWiki:searchall and adding localized names one per line.

Setting up the MediaWiki Lucene-based search engine
Please read Extension:lucene-search.