Stores a 32 bit float in the payload, or set it to null if 1f;
Namespace: Lucene.Net.Analyzers.Shingle.CodecAssembly: Lucene.Net.Contrib.Analyzers (in Lucene.Net.Contrib.Analyzers.dll) Version: 2.9.2.1 (2.9.2.1)
Syntax
C# |
---|
public override void SetWeight( Token token, float weight ) |
Visual Basic |
---|
Public Overrides Sub SetWeight ( _ token As Token, _ weight As Single _ ) |
Visual C++ |
---|
public: virtual void SetWeight( Token^ token, float weight ) override |
Parameters
- token
- Type: Lucene.Net.Analysis..::..Token
[Missing <param name="token"/> documentation for "M:Lucene.Net.Analyzers.Shingle.Codec.SimpleThreeDimensionalTokenSettingsCodec.SetWeight(Lucene.Net.Analysis.Token,System.Single)"]
- weight
- Type: System..::..Single
[Missing <param name="weight"/> documentation for "M:Lucene.Net.Analyzers.Shingle.Codec.SimpleThreeDimensionalTokenSettingsCodec.SetWeight(Lucene.Net.Analysis.Token,System.Single)"]