Construct a
CopyC#
TermScorer
.

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

Syntax

C#
public TermScorer(
	Weight weight,
	TermDocs td,
	Similarity similarity,
	byte[] norms
)
Visual Basic
Public Sub New ( _
	weight As Weight, _
	td As TermDocs, _
	similarity As Similarity, _
	norms As Byte() _
)
Visual C++
public:
TermScorer(
	Weight^ weight, 
	TermDocs^ td, 
	Similarity^ similarity, 
	array<unsigned char>^ norms
)

Parameters

weight
Type: Lucene.Net.Search..::..Weight
The weight of the
CopyC#
Term
in the query.
td
Type: Lucene.Net.Index..::..TermDocs
An iterator over the documents matching the
CopyC#
Term
.
similarity
Type: Lucene.Net.Search..::..Similarity
The
CopyC#
Similarity
implementation to be used for score computations.
norms
Type: array<System..::..Byte>[]()[][]
The field norms of the document fields for the
CopyC#
Term
.

See Also