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

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

Syntax

C#
public NumericTokenStream SetLongValue(
	long value_Renamed
)
Visual Basic
Public Function SetLongValue ( _
	value_Renamed As Long _
) As NumericTokenStream
Visual C++
public:
NumericTokenStream^ SetLongValue(
	long long value_Renamed
)

Parameters

value_Renamed
Type: System..::..Int64

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

Return Value

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

See Also