FilteringTokenFilter
@Deprecated public abstract class FilteringTokenFilter extends FilteringTokenFilter
FilteringTokenFilter.accept()
and return a boolean if the current
token should be preserved. FilteringTokenFilter.incrementToken()
uses this method
to decide if a token should be passed to the caller.AttributeSource.State
input
DEFAULT_TOKEN_ATTRIBUTE_FACTORY
Constructor and Description |
---|
FilteringTokenFilter(TokenStream in)
Deprecated.
Create a new
FilteringTokenFilter . |
accept, end, incrementToken, reset
close
addAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, endAttributes, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, removeAllAttributes, restoreState, toString
public FilteringTokenFilter(TokenStream in)
FilteringTokenFilter
.in
- the TokenStream
to consumeCopyright © 2000-2017 Apache Software Foundation. All Rights Reserved.