Returns a 32 bit float from the payload, or 1f it null.

Namespace: Lucene.Net.Analyzers.Shingle.Codec
Assembly: Lucene.Net.Contrib.Analyzers (in Lucene.Net.Contrib.Analyzers.dll) Version: 2.9.2.1 (2.9.2.1)

Syntax

C#
public override float GetWeight(
	Token token
)
Visual Basic
Public Overrides Function GetWeight ( _
	token As Token _
) As Single
Visual C++
public:
virtual float GetWeight(
	Token^ token
) override

Parameters

token
Type: Lucene.Net.Analysis..::..Token

[Missing <param name="token"/> documentation for "M:Lucene.Net.Analyzers.Shingle.Codec.SimpleThreeDimensionalTokenSettingsCodec.GetWeight(Lucene.Net.Analysis.Token)"]

Return Value

[Missing <returns> documentation for "M:Lucene.Net.Analyzers.Shingle.Codec.SimpleThreeDimensionalTokenSettingsCodec.GetWeight(Lucene.Net.Analysis.Token)"]

See Also