Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class ICUNormalizer2CharFilterFactory

    Factory for ICUNormalizer2CharFilter.

    Inheritance
    object
    AbstractAnalysisFactory
    CharFilterFactory
    ICUNormalizer2CharFilterFactory
    Implements
    IMultiTermAwareComponent
    Inherited Members
    CharFilterFactory.ForName(string, IDictionary<string, string>)
    CharFilterFactory.LookupClass(string)
    CharFilterFactory.AvailableCharFilters
    CharFilterFactory.ReloadCharFilters()
    AbstractAnalysisFactory.LUCENE_MATCH_VERSION_PARAM
    AbstractAnalysisFactory.m_luceneMatchVersion
    AbstractAnalysisFactory.OriginalArgs
    AbstractAnalysisFactory.AssureMatchVersion()
    AbstractAnalysisFactory.LuceneMatchVersion
    AbstractAnalysisFactory.Require(IDictionary<string, string>, string)
    AbstractAnalysisFactory.Require(IDictionary<string, string>, string, ICollection<string>)
    AbstractAnalysisFactory.Require(IDictionary<string, string>, string, ICollection<string>, bool)
    AbstractAnalysisFactory.Get(IDictionary<string, string>, string, string)
    AbstractAnalysisFactory.Get(IDictionary<string, string>, string, ICollection<string>)
    AbstractAnalysisFactory.Get(IDictionary<string, string>, string, ICollection<string>, string)
    AbstractAnalysisFactory.Get(IDictionary<string, string>, string, ICollection<string>, string, bool)
    AbstractAnalysisFactory.RequireInt32(IDictionary<string, string>, string)
    AbstractAnalysisFactory.GetInt32(IDictionary<string, string>, string, int)
    AbstractAnalysisFactory.RequireBoolean(IDictionary<string, string>, string)
    AbstractAnalysisFactory.GetBoolean(IDictionary<string, string>, string, bool)
    AbstractAnalysisFactory.RequireSingle(IDictionary<string, string>, string)
    AbstractAnalysisFactory.GetSingle(IDictionary<string, string>, string, float)
    AbstractAnalysisFactory.RequireChar(IDictionary<string, string>, string)
    AbstractAnalysisFactory.GetChar(IDictionary<string, string>, string, char)
    AbstractAnalysisFactory.GetSet(IDictionary<string, string>, string)
    AbstractAnalysisFactory.GetPattern(IDictionary<string, string>, string)
    AbstractAnalysisFactory.GetCulture(IDictionary<string, string>, string, CultureInfo)
    AbstractAnalysisFactory.GetWordSet(IResourceLoader, string, bool)
    AbstractAnalysisFactory.GetLines(IResourceLoader, string)
    AbstractAnalysisFactory.GetSnowballWordSet(IResourceLoader, string, bool)
    AbstractAnalysisFactory.SplitFileNames(string)
    AbstractAnalysisFactory.GetClassArg()
    AbstractAnalysisFactory.IsExplicitLuceneMatchVersion
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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
    ICUNormalizer2CharFilter
    Normalizer2
    FilteredNormalizer2

    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
    CharFilterFactory.Create(TextReader)
    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
    ICUNormalizer2CharFilter
    Normalizer2
    FilteredNormalizer2

    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
    ICUNormalizer2CharFilter
    Normalizer2
    FilteredNormalizer2

    Implements

    Lucene.Net.Analysis.Util.IMultiTermAwareComponent

    See Also

    ICUNormalizer2CharFilter
    Normalizer2
    FilteredNormalizer2
    Back to top Copyright © 2024 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.