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: Lucene.Net.Search.Similar
Assembly: Lucene.Net.Contrib.Queries (in Lucene.Net.Contrib.Queries.dll) Version: 2.9.2.0 (2.9.2)

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]