Apache Lucene.Net 2.4.0 Class Library API

StopFilter Members

StopFilter overview

Public Static Methods

GetEnablePositionIncrementsDefault 
MakeStopSetOverloaded. Builds a Set from an array of stop words, appropriate for passing into the StopFilter constructor. This permits this stopWords construction to be cached once when an Analyzer is constructed.
SetEnablePositionIncrementsDefault 

Public Instance Constructors

StopFilter Overloaded. Initializes a new instance of the StopFilter class.

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.
GetEnablePositionIncrements 
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 not a stop word.
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.
SetEnablePositionIncrements 
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

StopFilter Class | Lucene.Net.Analysis Namespace