Search Results for

    Show / Hide Table of Contents

    Class GeoPointPropertyDescriptor<T>

    Data type mapping to map a property as a geopoint

    Inheritance
    object
    DescriptorBase<GeoPointPropertyDescriptor<T>, IGeoPointProperty>
    PropertyDescriptorBase<GeoPointPropertyDescriptor<T>, IGeoPointProperty, T>
    CorePropertyDescriptorBase<GeoPointPropertyDescriptor<T>, IGeoPointProperty, T>
    DocValuesPropertyDescriptorBase<GeoPointPropertyDescriptor<T>, IGeoPointProperty, T>
    GeoPointPropertyDescriptor<T>
    Implements
    IDescriptor
    IGeoPointProperty
    IDocValuesProperty
    ICoreProperty
    IProperty
    IFieldMapping
    Inherited Members
    DocValuesPropertyDescriptorBase<GeoPointPropertyDescriptor<T>, IGeoPointProperty, T>.DocValues(bool?)
    CorePropertyDescriptorBase<GeoPointPropertyDescriptor<T>, IGeoPointProperty, T>.Store(bool?)
    CorePropertyDescriptorBase<GeoPointPropertyDescriptor<T>, IGeoPointProperty, T>.Fields(Func<PropertiesDescriptor<T>, IPromise<IProperties>>)
    CorePropertyDescriptorBase<GeoPointPropertyDescriptor<T>, IGeoPointProperty, T>.Similarity(string)
    CorePropertyDescriptorBase<GeoPointPropertyDescriptor<T>, IGeoPointProperty, T>.CopyTo(Func<FieldsDescriptor<T>, IPromise<Fields>>)
    PropertyDescriptorBase<GeoPointPropertyDescriptor<T>, IGeoPointProperty, T>.DebugDisplay
    PropertyDescriptorBase<GeoPointPropertyDescriptor<T>, IGeoPointProperty, T>.TypeOverride
    PropertyDescriptorBase<GeoPointPropertyDescriptor<T>, IGeoPointProperty, T>.Name(PropertyName)
    PropertyDescriptorBase<GeoPointPropertyDescriptor<T>, IGeoPointProperty, T>.Name<TValue>(Expression<Func<T, TValue>>)
    PropertyDescriptorBase<GeoPointPropertyDescriptor<T>, IGeoPointProperty, T>.LocalMetadata(Func<FluentDictionary<string, object>, FluentDictionary<string, object>>)
    PropertyDescriptorBase<GeoPointPropertyDescriptor<T>, IGeoPointProperty, T>.Meta(Func<FluentDictionary<string, string>, FluentDictionary<string, string>>)
    DescriptorBase<GeoPointPropertyDescriptor<T>, IGeoPointProperty>.Self
    DescriptorBase<GeoPointPropertyDescriptor<T>, IGeoPointProperty>.Assign<TValue>(TValue, Action<IGeoPointProperty, TValue>)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: OpenSearch.Client
    Assembly: OpenSearch.Client.dll
    Syntax
    public class GeoPointPropertyDescriptor<T> : DocValuesPropertyDescriptorBase<GeoPointPropertyDescriptor<T>, IGeoPointProperty, T>, IDescriptor, IGeoPointProperty, IDocValuesProperty, ICoreProperty, IProperty, IFieldMapping where T : class
    Type Parameters
    Name Description
    T

    Constructors

    | Edit this page View Source

    GeoPointPropertyDescriptor()

    Declaration
    public GeoPointPropertyDescriptor()

    Methods

    | Edit this page View Source

    IgnoreMalformed(bool?)

    If true, malformed geo-points are ignored. If false (default), malformed geo-points throw an exception and reject the whole document.

    Declaration
    public GeoPointPropertyDescriptor<T> IgnoreMalformed(bool? ignoreMalformed = true)
    Parameters
    Type Name Description
    bool? ignoreMalformed
    Returns
    Type Description
    GeoPointPropertyDescriptor<T>
    | Edit this page View Source

    IgnoreZValue(bool?)

    If true (default) three dimension points will be accepted (stored in source) but only latitude and longitude values will be indexed; the third dimension is ignored. If false, geo-points containing any more than latitude and longitude (two dimensions) values throw an exception and reject the whole document.

    Declaration
    public GeoPointPropertyDescriptor<T> IgnoreZValue(bool? ignoreZValue = true)
    Parameters
    Type Name Description
    bool? ignoreZValue
    Returns
    Type Description
    GeoPointPropertyDescriptor<T>
    | Edit this page View Source

    NullValue(GeoLocation)

    Accepts a geo_point value which is substituted for any explicit null values. Defaults to null, which means the field is treated as missing.

    Declaration
    public GeoPointPropertyDescriptor<T> NullValue(GeoLocation defaultValue)
    Parameters
    Type Name Description
    GeoLocation defaultValue
    Returns
    Type Description
    GeoPointPropertyDescriptor<T>

    Implements

    IDescriptor
    IGeoPointProperty
    IDocValuesProperty
    ICoreProperty
    IProperty
    IFieldMapping

    Extension Methods

    SuffixExtensions.Suffix(object, string)
    • Edit this page
    • View Source
    In this article
    • Constructors
      • GeoPointPropertyDescriptor()
    • Methods
      • IgnoreMalformed(bool?)
      • IgnoreZValue(bool?)
      • NullValue(GeoLocation)
    • Implements
    • Extension Methods
    Back to top Generated by DocFX