LengthFilter@Deprecated public final class Lucene43LengthFilter extends Lucene43FilteringTokenFilter
AttributeSource.StateinputDEFAULT_TOKEN_ATTRIBUTE_FACTORY| Constructor and Description |
|---|
Lucene43LengthFilter(boolean enablePositionIncrements,
TokenStream in,
int min,
int max)
Deprecated.
Build a filter that removes words that are too long or too
short from the text.
|
| 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 Lucene43LengthFilter(boolean enablePositionIncrements,
TokenStream in,
int min,
int max)
public boolean accept()
throws IOException
Lucene43FilteringTokenFilterLucene43FilteringTokenFilter.incrementToken().accept in class Lucene43FilteringTokenFilterIOExceptionCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.