Class GeoPointProperty
Data type mapping to map a property as a geopoint
Implements
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public class GeoPointProperty : DocValuesPropertyBase, IPropertyWithClrOrigin, IGeoPointProperty, IDocValuesProperty, ICoreProperty, IProperty, IFieldMapping
Constructors
| Edit this page View SourceGeoPointProperty()
Declaration
public GeoPointProperty()
Properties
| Edit this page View SourceIgnoreMalformed
If true, malformed geo-points are ignored. If false (default), malformed geo-points throw an exception and reject the whole document.
Declaration
public bool? IgnoreMalformed { get; set; }
Property Value
Type | Description |
---|---|
bool? |
IgnoreZValue
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 bool? IgnoreZValue { get; set; }
Property Value
Type | Description |
---|---|
bool? |
NullValue
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 GeoLocation NullValue { get; set; }
Property Value
Type | Description |
---|---|
GeoLocation |