public class DropIfFlaggedFilter extends FilteringTokenFilter
DropIfFlaggedFilterFactoryAttributeSource.StateinputDEFAULT_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, resetcloseaddAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, endAttributes, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, removeAllAttributes, restoreState, toStringprotected 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 FilteringTokenFilterCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.