Commit c389d34744191160e2ac78895a0daed0909158ba

Authored by Jarrett Jordaan
1 parent be19b2b6

Lucene updated.

Committed by: Jarrett Jordaan

Reviewed by: Megan Watson
setup/wizard/lib/services/windowsLucene.php
@@ -493,6 +493,7 @@ class windowsLucene extends windowsService { @@ -493,6 +493,7 @@ class windowsLucene extends windowsService {
493 $varDirectory = $conf['paths']['varDirectory']['path']; 493 $varDirectory = $conf['paths']['varDirectory']['path'];
494 // on Windows the path needs to be escaped or the Java Lucene code cannot understand it 494 // on Windows the path needs to be escaped or the Java Lucene code cannot understand it
495 $content .= "indexer.directory=" . str_replace('\\', '/', $varDirectory . DS . "indexes") . "\n"; 495 $content .= "indexer.directory=" . str_replace('\\', '/', $varDirectory . DS . "indexes") . "\n";
  496 + $content .= "indexer.analyzer=org.apache.lucene.analysis.standard.StandardAnalyzer\n";
496 fwrite($fp, $content); 497 fwrite($fp, $content);
497 fclose($fp); 498 fclose($fp);
498 chmod($fileLoc, 0644); 499 chmod($fileLoc, 0644);