Expert: Set the Similarity implementation used by this Searcher.

Namespace: Lucene.Net.Search
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
public virtual void SetSimilarity(
	Similarity similarity
)
Visual Basic
Public Overridable Sub SetSimilarity ( _
	similarity As Similarity _
)
Visual C++
public:
virtual void SetSimilarity(
	Similarity^ similarity
)

Parameters

similarity
Type: Lucene.Net.Search..::..Similarity

[Missing <param name="similarity"/> documentation for "M:Lucene.Net.Search.Searcher.SetSimilarity(Lucene.Net.Search.Similarity)"]

See Also