Initializes the token stream with the supplied
CopyC#
double
value.

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

Syntax

C#
public NumericTokenStream SetDoubleValue(
	double value_Renamed
)
Visual Basic
Public Function SetDoubleValue ( _
	value_Renamed As Double _
) As NumericTokenStream
Visual C++
public:
NumericTokenStream^ SetDoubleValue(
	double value_Renamed
)

Parameters

value_Renamed
Type: System..::..Double

[Missing <param name="value_Renamed"/> documentation for "M:Lucene.Net.Analysis.NumericTokenStream.SetDoubleValue(System.Double)"]

Return Value

this instance, because of this you can use it the following way:
CopyC#
new Field(name, new NumericTokenStream(precisionStep).SetDoubleValue(value))

See Also