Called for each token in the current fragment

Namespace: Lucene.Net.Highlight
Assembly: Lucene.Net.Contrib.Highlighter (in Lucene.Net.Contrib.Highlighter.dll) Version: 2.3.2.1

Syntax

C#
float GetTokenScore(
	Token token
)
Visual Basic
Function GetTokenScore ( _
	token As Token _
) As Single
Visual C++
float GetTokenScore(
	Token^ token
)

Parameters

token
Type: Lucene.Net.Analysis..::..Token
The token to be scored

Return Value

a score which is passed to the Highlighter class to influence the mark-up of the text (this return value is NOT used to score the fragment)

See Also