public final class LowerCaseFilter extends TokenFilter
You may specify the Version
compatibility when creating LowerCaseFilter:
AttributeSource.State
input
DEFAULT_TOKEN_ATTRIBUTE_FACTORY
DEFAULT_ATTRIBUTE_FACTORY
Constructor and Description |
---|
LowerCaseFilter(TokenStream in)
Create a new LowerCaseFilter, that normalizes token text to lower case.
|
LowerCaseFilter(Version matchVersion,
TokenStream in)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
incrementToken() |
close, end, reset
addAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, restoreState, toString
public LowerCaseFilter(TokenStream in)
in
- TokenStream to filter@Deprecated public LowerCaseFilter(Version matchVersion, TokenStream in)
LowerCaseFilter(TokenStream)
public final boolean incrementToken() throws IOException
incrementToken
in class TokenStream
IOException
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.