KeepWordFilter
@Deprecated public final class Lucene43KeepWordFilter extends Lucene43FilteringTokenFilter
AttributeSource.State
input
DEFAULT_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, reset
close, end
addAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, restoreState, toString
public Lucene43KeepWordFilter(boolean enablePositionIncrements, TokenStream in, CharArraySet words)
public boolean accept()
Lucene43FilteringTokenFilter
Lucene43FilteringTokenFilter.incrementToken()
.accept
in class Lucene43FilteringTokenFilter
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.