Class ICUNormalizer2CharFilterFactory
Factory for ICUNormalizer2CharFilter.
Implements
IMultiTermAwareComponent
Inherited Members
CharFilterFactory.AvailableCharFilters
CharFilterFactory.ReloadCharFilters()
AbstractAnalysisFactory.LUCENE_MATCH_VERSION_PARAM
AbstractAnalysisFactory.m_luceneMatchVersion
AbstractAnalysisFactory.OriginalArgs
AbstractAnalysisFactory.AssureMatchVersion()
AbstractAnalysisFactory.LuceneMatchVersion
AbstractAnalysisFactory.GetClassArg()
AbstractAnalysisFactory.IsExplicitLuceneMatchVersion
Namespace: Lucene.Net.Analysis.Icu
Assembly: Lucene.Net.ICU.dll
Syntax
public class ICUNormalizer2CharFilterFactory : CharFilterFactory, IMultiTermAwareComponent
Remarks
Supports the following attributes:
name | A Unicode Normalization Form, one of 'nfc','nfkc', 'nfkc_cf'. Default is nfkc_cf. |
mode | Either 'compose' or 'decompose'. Default is compose. Use "decompose" with nfc or nfkc, to get nfd or nfkd, respectively. |
filter | A ICU4N.Text.UnicodeSet pattern. Codepoints outside the set are always left unchanged. Default is [] (the null set, no filtering). |
Constructors
ICUNormalizer2CharFilterFactory(IDictionary<string, string>)
Creates a new ICUNormalizer2CharFilterFactory.
Declaration
public ICUNormalizer2CharFilterFactory(IDictionary<string, string> args)
Parameters
Type | Name | Description |
---|---|---|
IDictionary<string, string> | args |
Remarks
Supports the following attributes:
name | A Unicode Normalization Form, one of 'nfc','nfkc', 'nfkc_cf'. Default is nfkc_cf. |
mode | Either 'compose' or 'decompose'. Default is compose. Use "decompose" with nfc or nfkc, to get nfd or nfkd, respectively. |
filter | A ICU4N.Text.UnicodeSet pattern. Codepoints outside the set are always left unchanged. Default is [] (the null set, no filtering). |
See Also
Methods
Create(TextReader)
Wraps the given TextReader with a Lucene.Net.Analysis.CharFilter.
Declaration
public override TextReader Create(TextReader input)
Parameters
Type | Name | Description |
---|---|---|
TextReader | input |
Returns
Type | Description |
---|---|
TextReader |
Overrides
Remarks
Supports the following attributes:
name | A Unicode Normalization Form, one of 'nfc','nfkc', 'nfkc_cf'. Default is nfkc_cf. |
mode | Either 'compose' or 'decompose'. Default is compose. Use "decompose" with nfc or nfkc, to get nfd or nfkd, respectively. |
filter | A ICU4N.Text.UnicodeSet pattern. Codepoints outside the set are always left unchanged. Default is [] (the null set, no filtering). |
See Also
GetMultiTermComponent()
Returns an analysis component to handle analysis if multi-term queries. The returned component must be a Lucene.Net.Analysis.Util.TokenizerFactory, Lucene.Net.Analysis.Util.TokenFilterFactory or Lucene.Net.Analysis.Util.CharFilterFactory.
Declaration
public virtual AbstractAnalysisFactory GetMultiTermComponent()
Returns
Type | Description |
---|---|
AbstractAnalysisFactory |
Remarks
Supports the following attributes:
name | A Unicode Normalization Form, one of 'nfc','nfkc', 'nfkc_cf'. Default is nfkc_cf. |
mode | Either 'compose' or 'decompose'. Default is compose. Use "decompose" with nfc or nfkc, to get nfd or nfkd, respectively. |
filter | A ICU4N.Text.UnicodeSet pattern. Codepoints outside the set are always left unchanged. Default is [] (the null set, no filtering). |
See Also
Implements
Lucene.Net.Analysis.Util.IMultiTermAwareComponent