public static Type GetCollatorType(this NewCollationAnalyzerTask.Implementation impl) { switch (impl) { //case NewCollationAnalyzerTask.Implementation.JDK: // return typeof(Icu.Collation.Collator); case NewCollationAnalyzerTask.Implementation.ICU: return(typeof(Collator)); default: return(typeof(Collator)); } }
public static Type GetAnalyzerType(this NewCollationAnalyzerTask.Implementation impl) { switch (impl) { //case NewCollationAnalyzerTask.Implementation.JDK: // return typeof(Lucene.Net.Collation.CollationKeyAnalyzer); case NewCollationAnalyzerTask.Implementation.ICU: return(typeof(Lucene.Net.Collation.ICUCollationKeyAnalyzer)); default: return(typeof(Lucene.Net.Collation.ICUCollationKeyAnalyzer)); } }