Calculate the score up to this point for this doc and field

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

Syntax

C#
public abstract float CurrentScore(
	int docId,
	string field,
	int start,
	int end,
	int numPayloadsSeen,
	float currentScore,
	float currentPayloadScore
)
Visual Basic
Public MustOverride Function CurrentScore ( _
	docId As Integer, _
	field As String, _
	start As Integer, _
	end As Integer, _
	numPayloadsSeen As Integer, _
	currentScore As Single, _
	currentPayloadScore As Single _
) As Single
Visual C++
public:
virtual float CurrentScore(
	int docId, 
	String^ field, 
	int start, 
	int end, 
	int numPayloadsSeen, 
	float currentScore, 
	float currentPayloadScore
) abstract

Parameters

docId
Type: System..::..Int32
The current doc
field
Type: System..::..String
The field
start
Type: System..::..Int32
The start position of the matching Span
end
Type: System..::..Int32
The end position of the matching Span
numPayloadsSeen
Type: System..::..Int32
The number of payloads seen so far
currentScore
Type: System..::..Single
The current score so far
currentPayloadScore
Type: System..::..Single
The score for the current payload

Return Value

The new current Score

See Also