Interface IDateNanosProperty
The date nanos datatype is similar to IDateProperty, except that internally, the date is stored with nanosecond resolution. This limits its range of dates from roughly 1970 to 2262.
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public interface IDateNanosProperty : IDocValuesProperty, ICoreProperty, IProperty, IFieldMapping
Properties
| Edit this page View SourceBoost
Mapping field-level query time boosting. Accepts a floating point number, defaults to 1.0.
Declaration
[DataMember(Name = "boost")]
double? Boost { get; set; }
Property Value
Type | Description |
---|---|
double? |
Format
The date format(s) that can be parsed. Defaults to strict_date_optional_time||epoch_millis. DateFormat
Declaration
[DataMember(Name = "format")]
string Format { get; set; }
Property Value
Type | Description |
---|---|
string |
IgnoreMalformed
If true, malformed numbers are ignored. If false (default), malformed numbers throw an exception and reject the whole document.
Declaration
[DataMember(Name = "ignore_malformed")]
bool? IgnoreMalformed { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Index
Should the field be searchable? Accepts true (default) and false.
Declaration
[DataMember(Name = "index")]
bool? Index { get; set; }
Property Value
Type | Description |
---|---|
bool? |
NullValue
Accepts a date value in one of the configured format's as the field which is substituted for any explicit null values. Defaults to null, which means the field is treated as missing.
Declaration
[DataMember(Name = "null_value")]
DateTime? NullValue { get; set; }
Property Value
Type | Description |
---|---|
DateTime? |