TypeTokenFilter@Deprecated public final class Lucene43TypeTokenFilter extends Lucene43FilteringTokenFilter
AttributeSource.StateinputDEFAULT_TOKEN_ATTRIBUTE_FACTORY| Constructor and Description |
|---|
Lucene43TypeTokenFilter(boolean enablePositionIncrements,
TokenStream input,
Set<String> stopTypes,
boolean useWhiteList)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
accept()
Deprecated.
By default accept the token if its type is not a stop type.
|
incrementToken, resetclose, endaddAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, removeAllAttributes, restoreState, toStringpublic Lucene43TypeTokenFilter(boolean enablePositionIncrements,
TokenStream input,
Set<String> stopTypes,
boolean useWhiteList)
protected boolean accept()
throws IOException
accept in class Lucene43FilteringTokenFilterIOExceptionCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.