Apache Lucene.Net 2.4.0 Class Library API

LengthFilter Members

LengthFilter overview

Public Instance Constructors

LengthFilter Constructor Build a filter that removes words that are too long or too short from the text.

Public Instance Methods

Close (inherited from TokenFilter)Close the input TokenStream.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
NextOverloaded. Returns the next input Token whose term() is the right len
Next (inherited from TokenStream)Overloaded. Returns the next token in the stream, or null at EOS. @deprecated The returned Token is a "full private copy" (not re-used across calls to next()) but will be slower than calling {@link #Next(Token)} instead..
Reset (inherited from TokenFilter) Reset the filter as well as the input TokenStream.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Internal Instance Fields

input (inherited from TokenFilter)The source of tokens for this filter.

See Also

LengthFilter Class | Lucene.Net.Analysis Namespace