Class UpperCaseFilter

  • All Implemented Interfaces:
    Closeable, AutoCloseable

    public final class UpperCaseFilter
    extends TokenFilter
    Normalizes token text to UPPER CASE.

    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

    • Constructor Detail

      • UpperCaseFilter

        public UpperCaseFilter​(TokenStream in)
        Create a new UpperCaseFilter, that normalizes token text to upper case.
        Parameters:
        in - TokenStream to filter