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

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 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