Creates a field for numeric values using the default
CopyC#
precisionStep
{@link NumericUtils#PRECISION_STEP_DEFAULT} (4). 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
)
Visual Basic
Public Sub New ( _
	name As String _
)
Visual C++
public:
NumericField(
	String^ name
)

Parameters

name
Type: System..::..String
the field name

See Also