Expert: Set the Similarity implementation used by this IndexWriter.

Namespace: Lucene.Net.Index
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.Index.IndexWriter.SetSimilarity(Lucene.Net.Search.Similarity)"]

See Also