Creates a field for numeric values with the specified
CopyC#
precisionStep
. The instance is not yet initialized with a numeric value, before indexing a document containing this field, set a value using the various set???Value() methods. This constructor creates an indexed, but not stored field.

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

Syntax

C#
public NumericField(
	string name,
	int precisionStep
)
Visual Basic
Public Sub New ( _
	name As String, _
	precisionStep As Integer _
)
Visual C++
public:
NumericField(
	String^ name, 
	int precisionStep
)

Parameters

name
Type: System..::..String
the field name
precisionStep
Type: System..::..Int32
the used precision step

See Also