Sets the Scorer to use in case a document's score is needed.

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

Syntax

C#
public virtual void SetScorer(
	Scorer scorer
)
Visual Basic
Public Overridable Sub SetScorer ( _
	scorer As Scorer _
)
Visual C++
public:
virtual void SetScorer(
	Scorer^ scorer
)

Parameters

scorer
Type: Lucene.Net.Search..::..Scorer
Scorer instance that you should use to obtain the current hit's score, if necessary.

See Also