Interface IGeoPointProperty
Data type mapping to map a property as a geopoint
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public interface IGeoPointProperty : IDocValuesProperty, ICoreProperty, IProperty, IFieldMapping
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
[DataMember(Name = "ignore_malformed")]
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
[DataMember(Name = "ignore_z_value")]
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
[DataMember(Name = "null_value")]
GeoLocation NullValue { get; set; }
Property Value
Type | Description |
---|---|
GeoLocation |