Class NumberAttribute
Maps a property as a number type. If no type is specified,
the default type is float (single precision floating point).
Inheritance
NumberAttribute
Assembly: OpenSearch.Client.dll
Syntax
public class NumberAttribute : OpenSearchDocValuesPropertyAttributeBase, IPropertyMapping, INumberProperty, IDocValuesProperty, ICoreProperty, IProperty, IFieldMapping
Constructors
|
Edit this page
View Source
NumberAttribute()
Declaration
|
Edit this page
View Source
NumberAttribute(NumberType)
Declaration
public NumberAttribute(NumberType type)
Parameters
Properties
|
Edit this page
View Source
Coerce
Declaration
public bool Coerce { get; set; }
Property Value
|
Edit this page
View Source
Declaration
public bool IgnoreMalformed { get; set; }
Property Value
|
Edit this page
View Source
Index
Declaration
public bool Index { get; set; }
Property Value
|
Edit this page
View Source
NullValue
Declaration
public double NullValue { get; set; }
Property Value
|
Edit this page
View Source
ScalingFactor
Declaration
public double ScalingFactor { get; set; }
Property Value
Implements
Extension Methods