Interface IGeoShapeProperty
Maps a property as a geo_shape field
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public interface IGeoShapeProperty : IDocValuesProperty, ICoreProperty, IProperty, IFieldMapping
Properties
| Edit this page View SourceCoerce
Should the data be coerced into becoming a valid geo shape (for instance closing a polygon)
Declaration
[DataMember(Name = "coerce")]
bool? Coerce { get; set; }
Property Value
Type | Description |
---|---|
bool? |
IgnoreMalformed
If true
, malformed geojson shapes are ignored. If false (default),
malformed geojson shapes 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? |
Orientation
Defines how to interpret vertex order for polygons and multipolygons. Defaults to CounterClockWise
Declaration
[DataMember(Name = "orientation")]
GeoOrientation? Orientation { get; set; }
Property Value
Type | Description |
---|---|
GeoOrientation? |
Strategy
Defines the approach for how to represent shapes at indexing and search time. It also influences the capabilities available so it is recommended to let OpenSearch set this parameter automatically.
Declaration
[DataMember(Name = "strategy")]
GeoStrategy? Strategy { get; set; }
Property Value
Type | Description |
---|---|
GeoStrategy? |