Show / Hide Table of Contents

    Class UpperCaseFilter

    Normalizes token text to UPPER CASE.

    You must specify the required LuceneVersion compatibility when creating UpperCaseFilter

    NOTE: In Unicode, this transformation may lose information when the upper case character represents more than one lower case character. Use this filter when you Require uppercase tokens. Use the LowerCaseFilter for general search matching

    Inheritance
    System.Object
    AttributeSource
    TokenStream
    TokenFilter
    UpperCaseFilter
    Implements
    System.IDisposable
    Inherited Members
    TokenFilter.m_input
    TokenFilter.End()
    TokenFilter.Dispose(Boolean)
    TokenFilter.Reset()
    TokenStream.Dispose()
    AttributeSource.GetAttributeFactory()
    AttributeSource.GetAttributeClassesEnumerator()
    AttributeSource.GetAttributeImplsEnumerator()
    AttributeSource.AddAttributeImpl(Attribute)
    AttributeSource.AddAttribute<T>()
    AttributeSource.HasAttributes
    AttributeSource.HasAttribute<T>()
    AttributeSource.GetAttribute<T>()
    AttributeSource.ClearAttributes()
    AttributeSource.CaptureState()
    AttributeSource.RestoreState(AttributeSource.State)
    AttributeSource.GetHashCode()
    AttributeSource.Equals(Object)
    AttributeSource.ReflectAsString(Boolean)
    AttributeSource.ReflectWith(IAttributeReflector)
    AttributeSource.CloneAttributes()
    AttributeSource.CopyTo(AttributeSource)
    AttributeSource.ToString()
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: Lucene.Net.Analysis.Core
    Assembly: Lucene.Net.Analysis.Common.dll
    Syntax
    public sealed class UpperCaseFilter : TokenFilter, IDisposable

    Constructors

    | Improve this Doc View Source

    UpperCaseFilter(LuceneVersion, TokenStream)

    Create a new UpperCaseFilter, that normalizes token text to upper case.

    Declaration
    public UpperCaseFilter(LuceneVersion matchVersion, TokenStream in)
    Parameters
    Type Name Description
    LuceneVersion matchVersion

    See LuceneVersion

    TokenStream in

    TokenStream to filter

    Methods

    | Improve this Doc View Source

    IncrementToken()

    Declaration
    public override sealed bool IncrementToken()
    Returns
    Type Description
    System.Boolean
    Overrides
    TokenStream.IncrementToken()

    Implements

    System.IDisposable
    • Improve this Doc
    • View Source
    Back to top Copyright © 2019 Licensed to the Apache Software Foundation (ASF)