KeepWordFilter@Deprecated public final class Lucene43KeepWordFilter extends Lucene43FilteringTokenFilter
AttributeSource.StateinputDEFAULT_TOKEN_ATTRIBUTE_FACTORY| Constructor and Description |
|---|
Lucene43KeepWordFilter(boolean enablePositionIncrements,
TokenStream in,
CharArraySet words)
Deprecated.
The words set passed to this constructor will be directly used by this filter
and should not be modified,
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept()
Deprecated.
Override this method and return if the current input token should be returned by
Lucene43FilteringTokenFilter.incrementToken(). |
incrementToken, resetclose, endaddAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, removeAllAttributes, restoreState, toStringpublic Lucene43KeepWordFilter(boolean enablePositionIncrements,
TokenStream in,
CharArraySet words)
public boolean accept()
Lucene43FilteringTokenFilterLucene43FilteringTokenFilter.incrementToken().accept in class Lucene43FilteringTokenFilterCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.