/**\r
* setter for "indexerLanguage" attribute from ANT\r
* @param indexerLanguage language for the search indexer. Used to differerentiate which stemmer to be used.\r
- * defaults to "en".\r
* @throws InterruptedException for ant\r
*/\r
public void setIndexerLanguage(String indexerLanguage){\r
- if(indexerLanguage !=null) {\r
+ if(indexerLanguage !=null && !"".equals(indexerLanguage)) {\r
int temp = indexerLanguage.indexOf('_');\r
if( temp != -1){\r
indexerLanguage = indexerLanguage.substring(0,temp);\r
\r
//if not in supported language list,\r
if(i>=supportedLanguages.length){\r
- System.out.println("The given language, \""+indexerLanguage+"\", does not have extensive support for " +\r
- "searching or language code is specified in a bad format. Check documentation for details. " +\r
- "Language now defaults to english.");\r
- IndexerTask.indexerLanguage = "en";\r
+// System.out.println("The given language, \""+indexerLanguage+"\", does not have extensive support for " +\r
+// "searching. Check documentation for details. ");\r
+ IndexerTask.indexerLanguage = indexerLanguage;\r
} \r
} else {\r
- IndexerTask.indexerLanguage = "en";\r
+ IndexerTask.indexerLanguage = "nl"; //nl - NotALanguage - fail-safe mechanism, This shouldn't be executed.\r
} \r
}\r
\r