Constructor DoubleField
DoubleField(String, Double, Field.Store)
Creates a stored or un-stored DoubleField with the provided value
and default precisionStep
PRECISION_STEP_DEFAULT (4).
Declaration
public DoubleField(string name, double value, Field.Store stored)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | field name |
System.Double | value | 64-bit |
Field.Store | stored | YES if the content should also be stored |
DoubleField(String, Double, FieldType)
Expert: allows you to customize the FieldType.
Declaration
public DoubleField(string name, double value, FieldType type)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | field name |
System.Double | value | 64-bit double value |
FieldType | type | customized field type: must have NumericType of DOUBLE. |