Search Results for

    Show / Hide Table of Contents

    Class DateProperty

    Inheritance
    object
    PropertyBase
    CorePropertyBase
    DocValuesPropertyBase
    DateProperty
    Implements
    IPropertyWithClrOrigin
    IDateProperty
    IDocValuesProperty
    ICoreProperty
    IProperty
    IFieldMapping
    Inherited Members
    DocValuesPropertyBase.DocValues
    CorePropertyBase.CopyTo
    CorePropertyBase.Fields
    CorePropertyBase.Similarity
    CorePropertyBase.Store
    PropertyBase.LocalMetadata
    PropertyBase.Meta
    PropertyBase.Name
    PropertyBase.DebugDisplay
    PropertyBase.ToString()
    PropertyBase.TypeOverride
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: OpenSearch.Client
    Assembly: OpenSearch.Client.dll
    Syntax
    public class DateProperty : DocValuesPropertyBase, IPropertyWithClrOrigin, IDateProperty, IDocValuesProperty, ICoreProperty, IProperty, IFieldMapping

    Constructors

    | Edit this page View Source

    DateProperty()

    Declaration
    public DateProperty()

    Properties

    | Edit this page View Source

    Boost

    Mapping field-level query time boosting. Accepts a floating point number, defaults to 1.0.

    Declaration
    public double? Boost { get; set; }
    Property Value
    Type Description
    double?
    | Edit this page View Source

    Fielddata

    Declaration
    public INumericFielddata Fielddata { get; set; }
    Property Value
    Type Description
    INumericFielddata
    | Edit this page View Source

    Format

    The date format(s) that can be parsed. Defaults to strict_date_optional_time||epoch_millis. DateFormat

    Declaration
    public 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
    public 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
    public 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
    public DateTime? NullValue { get; set; }
    Property Value
    Type Description
    DateTime?
    | Edit this page View Source

    PrecisionStep

    Declaration
    public int? PrecisionStep { get; set; }
    Property Value
    Type Description
    int?

    Implements

    IPropertyWithClrOrigin
    IDateProperty
    IDocValuesProperty
    ICoreProperty
    IProperty
    IFieldMapping

    Extension Methods

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