org.apache.lucene.analysis
Class LengthFilter
public final class LengthFilter
Removes words that are too long and too short from the stream.
$Id: LengthFilter.java 472959 2006-11-09 16:21:50Z yonik $
LengthFilter(TokenStream in, int min, int max) - Build a filter that removes words that are too long or too
short from the text.
|
Token | next() - Returns the next input Token whose termText() is the right len
|
LengthFilter
public LengthFilter(TokenStream in,
int min,
int max)
Build a filter that removes words that are too long or too
short from the text.
next
public final Token next()
throws IOException
Returns the next input Token whose termText() is the right len
- next in interface TokenStream
Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.