StopFilter
@Deprecated public final class Lucene43StopFilter extends Lucene43FilteringTokenFilter
AttributeSource.State
input
DEFAULT_TOKEN_ATTRIBUTE_FACTORY
Constructor and Description |
---|
Lucene43StopFilter(boolean enablePositionIncrements,
TokenStream in,
CharArraySet stopWords)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
accept()
Deprecated.
Returns the next input Token whose term() is not a stop word.
|
incrementToken, reset
close, end
addAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, restoreState, toString
public Lucene43StopFilter(boolean enablePositionIncrements, TokenStream in, CharArraySet stopWords)
protected boolean accept() throws IOException
accept
in class Lucene43FilteringTokenFilter
IOException
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.