Search Results for

    Show / Hide Table of Contents

    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
    IDocValuesProperty.DocValues
    ICoreProperty.CopyTo
    ICoreProperty.Fields
    ICoreProperty.Similarity
    ICoreProperty.Store
    IProperty.LocalMetadata
    IProperty.Meta
    IProperty.Name
    IProperty.Type
    Namespace: OpenSearch.Client
    Assembly: OpenSearch.Client.dll
    Syntax
    public interface IDateNanosProperty : IDocValuesProperty, ICoreProperty, IProperty, IFieldMapping

    Properties

    | Edit this page View Source

    Boost

    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?
    | Edit this page View Source

    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
    | Edit this page View Source

    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?
    | Edit this page View Source

    Index

    Should the field be searchable? Accepts true (default) and false.

    Declaration
    [DataMember(Name = "index")]
    bool? Index { get; set; }
    Property Value
    Type Description
    bool?
    | Edit this page View Source

    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?

    Extension Methods

    SuffixExtensions.Suffix(object, string)
    • Edit this page
    • View Source
    In this article
    • Properties
      • Boost
      • Format
      • IgnoreMalformed
      • Index
      • NullValue
    • Extension Methods
    Back to top Generated by DocFX