Initializes the token stream with the supplied value.
Namespace: Lucene.Net.AnalysisCopyC#
float
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
C# |
---|
public NumericTokenStream SetFloatValue( float value_Renamed ) |
Visual Basic |
---|
Public Function SetFloatValue ( _ value_Renamed As Single _ ) As NumericTokenStream |
Visual C++ |
---|
public: NumericTokenStream^ SetFloatValue( float value_Renamed ) |
Parameters
- value_Renamed
- Type: System..::..Single
[Missing <param name="value_Renamed"/> documentation for "M:Lucene.Net.Analysis.NumericTokenStream.SetFloatValue(System.Single)"]
Return Value
this instance, because of this you can use it the following way:CopyC#
new Field(name, new NumericTokenStream(precisionStep).SetFloatValue(value))