Set the default Similarity implementation used by indexing and search code.

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

Syntax

C#
public static void SetDefault(
	Similarity similarity
)
Visual Basic
Public Shared Sub SetDefault ( _
	similarity As Similarity _
)
Visual C++
public:
static void SetDefault(
	Similarity^ similarity
)

Parameters

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

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

See Also