=== modified file 'src/modules/swmodule.cpp' --- src/modules/swmodule.cpp 2009-04-23 02:40:33 +0000 +++ src/modules/swmodule.cpp 2009-08-31 21:16:41 +0000 @@ -509,7 +509,7 @@ is = new IndexSearcher(ir); (*percent)(10, percentUserData); - standard::StandardAnalyzer analyzer; + SimpleAnalyzer analyzer; lucene_utf8towcs(wcharBuffer, istr, MAX_CONV_SIZE); //TODO Is istr always utf8? q = QueryParser::parse(wcharBuffer, _T("content"), &analyzer); (*percent)(20, percentUserData); @@ -1016,7 +1016,7 @@ IndexWriter *fsWriter = NULL; Directory *d = NULL; - standard::StandardAnalyzer *an = new standard::StandardAnalyzer(); + SimpleAnalyzer *an = new SimpleAnalyzer(); SWBuf target = getConfigEntry("AbsoluteDataPath"); bool includeKeyInSearch = getConfig().has("SearchOption", "IncludeKeyInSearch"); char ch = target.c_str()[strlen(target.c_str())-1];