Sets whether to boost terms in query based on "score" or not.

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

Syntax

C#
public void SetBoost(
	bool boost
)
Visual Basic
Public Sub SetBoost ( _
	boost As Boolean _
)
Visual C++
public:
void SetBoost(
	bool boost
)

Parameters

boost
Type: System..::..Boolean
true to boost terms in query based on "score", false otherwise.

See Also