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

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

Syntax

C#
public NumericTokenStream SetIntValue(
	int value_Renamed
)
Visual Basic
Public Function SetIntValue ( _
	value_Renamed As Integer _
) As NumericTokenStream
Visual C++
public:
NumericTokenStream^ SetIntValue(
	int value_Renamed
)

Parameters

value_Renamed
Type: System..::..Int32

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

Return Value

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

See Also