/// <summary> /// Create a new <see cref="CollationKeyAnalyzer"/>, using the specified collator. /// </summary> /// <param name="matchVersion"> See <see cref="CollationKeyAnalyzer"/> </param> /// <param name="collator"> <see cref="System.Globalization.SortKey"/> generator </param> public CollationKeyAnalyzer(LuceneVersion matchVersion, Collator collator) { this.matchVersion = matchVersion; this.collator = collator; this.factory = new CollationAttributeFactory(collator); }
/// <summary> /// Create a new CollationKeyAnalyzer, using the specified collator. /// </summary> /// <param name="matchVersion"> See <a href="#version">above</a> </param> /// <param name="collator"> CollationKey generator </param> public CollationKeyAnalyzer(Version matchVersion, Collator collator) { this.matchVersion = matchVersion; this.collator = collator; this.factory = new CollationAttributeFactory(collator); }