org.apache.lucene.analysis
public final class LengthFilter extends TokenFilter
Version: $Id: LengthFilter.java 472959 2006-11-09 16:21:50Z yonik $
Constructor Summary | |
---|---|
LengthFilter(TokenStream in, int min, int max)
Build a filter that removes words that are too long or too
short from the text. |
Method Summary | |
---|---|
Token | next()
Returns the next input Token whose termText() is the right len |