public final class LengthFilter extends TokenFilter
input
Constructor and Description |
---|
LengthFilter(TokenStream in,
int min,
int max)
Build a filter that removes words that are too long or too
short from the text.
|
Modifier and Type | Method and Description |
---|---|
Token |
next()
Returns the next input Token whose termText() is the right len
|
close
public LengthFilter(TokenStream in, int min, int max)
public final Token next() throws IOException
next
in class TokenStream
IOException
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.