public class DropIfFlaggedFilter extends FilteringTokenFilter
DropIfFlaggedFilterFactory
AttributeSource.State
input
DEFAULT_TOKEN_ATTRIBUTE_FACTORY
Modifier | Constructor and Description |
---|---|
protected |
DropIfFlaggedFilter(TokenStream input,
int dropFlags)
Construct a token stream filtering the given input.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
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
protected DropIfFlaggedFilter(TokenStream input, int dropFlags)
input
- the source streamdropFlags
- a combination of flags that indicates that the token should be dropped.protected boolean accept()
accept
in class FilteringTokenFilter
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.