Thread:Extension talk:Zend Search Lucene for MediaWiki/Invalid argument supplied for foreach() in C:\xampp\htdocs\PslZend SearchLuceneIndexer.php on line 421/reply (4)

Thanks for the reply. I have found that my wiki was dumping XML file with not allowed character at the beginning, after trimming it, indexing was OK.

I have multilingual smw wiki in English and Japanese in single database and on search results in Japanese I get error in Search results:

Warning: preg_replace [function.preg-replace]: Compilation failed: unrecognized character after (? or (?- at offset 2 in /my/path/extensions/PslZendSearchLucene/PslZendSearchLucene_body.php on line 1525

anyway the Zend Extansion finds correct page but :
 * "Text" is not displayed under the search results for Japanese
 * foreign UTF8 characters (like other languages in English text) are displayed as ?
 * words inside Japanese sentence are not indexed (as there are no spaces between words in Japanese)

$wgPslUtf8DecodeResults just turns Japanese page names to ????

ad Mediawiki MW Search:
 * same result as mentioned upper
 * foreign UTF8 characters are displayed correct in normal MW Search...
 * words inside Japanese sentence are not indexed (default MW Search probably cannot deal with this)

I don't know what of the mentioned is my misconfiguration and what real troubles, just wanted to share overall result from testing by normal Mediawiki user (not a PHP expert).