Set the set of stopwords. Any word in this set is considered "uninteresting" and ignored. Even if your Analyzer allows stopwords, you might want to tell the MoreLikeThis code to ignore them, as for the purposes of document similarity it seems reasonable to assume that "a stop word is never interesting".

Namespace: Similarity.Net
Assembly: Lucene.Net.Contrib.Similarity (in Lucene.Net.Contrib.Similarity.dll) Version: 2.0.0.1

Syntax

C#
public void SetStopWords(
	Hashtable stopWords
)
Visual Basic
Public Sub SetStopWords ( _
	stopWords As Hashtable _
)
Visual C++
public:
void SetStopWords(
	Hashtable^ stopWords
)

Parameters

stopWords
Type: System.Collections..::..Hashtable
set of stopwords, if null it means to allow stop words

See Also

[!:StopFilter.makeStopSet()]
[!:#getStopWords]