Lucene.Net 1.9.1 Class Library

StopFilter Members

StopFilter overview

Public Static Methods

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.
makeStopTable Builds a Hashtable from an array of stop words, appropriate for passing into the StopFilter constructor. This permits this table construction to be cached once when an Analyzer is constructed.
MakeStopTable Builds a Hashtable from an array of stop words, appropriate for passing into the StopFilter constructor. This permits this table construction to be cached once when an Analyzer is constructed.

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.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
Next Returns the next input Token whose termText() is not a stop word.
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