I hate to say this after all you went through setting up Lucene Search but it is end of life and not receiving any real support. We're in the process of replacing it with the combination of CirrusSearchhttps://www.mediawiki.org/wiki/Extension:CirrusSearch /Elasticsearch http://www.elasticsearch.org/ which work pretty much the same way the MWSearch/Lucene Search combination does. CirrusSearch has to be smarter than MWSearch because Elasticsearch doesn't have any Mediawiki knowledge but because it links into Mediawiki it can do things like expand templates. I like it but I'm biased.
That aside, it looks like Lucene Search is supposed to read InitializeSettings which is kind of wmf specific thing. You might be able to trick it into doing it by putting a file called InitializeSettings.php in the conf directory with the contents
'wgLanguageCode' => array( 'your $wgDBname' => 'ru', ),
CirrusSearch, if you care to try it, reads the language code from wgLanguageCode.
Nik
On Thu, Jan 30, 2014 at 3:39 PM, Yury Katkov katkov.juriy@gmail.com wrote:
Hi guys!
I've installed MWSearch and Lucene Search extensions but I can see that the search engine doesn't understand the morphology of Russian (doesn't recognize word forms). How can I turn the morphological analyzer on? How it's done in Russian Wikipedia?
Cheers,
Yury Katkov, WikiVote _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l