Skip to content

Commit 4de6187

Browse files
committed
GeoShapeAttribute needs to implement IGeoShapeProperty
1 parent ba7b1ad commit 4de6187

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Nest/Mapping/Types/Geo/GeoShape/GeoShapeAttribute.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ public GeoShapeAttribute() : base(FieldType.GeoShape) { }
1515
double? IGeoShapeProperty.DistanceErrorPercentage { get; set; }
1616
bool? IGeoShapeProperty.PointsOnly { get; set; }
1717
bool? IGeoShapeProperty.IgnoreMalformed { get; set; }
18+
bool? IGeoShapeProperty.IgnoreZValue { get; set; }
1819

1920
/// <inheritdoc cref="IGeoShapeProperty.Tree"/>
2021
public GeoTree Tree { get => Self.Tree.GetValueOrDefault(GeoTree.Geohash); set => Self.Tree = value; }
@@ -36,5 +37,7 @@ public double DistanceErrorPercentage
3637
public bool PointsOnly { get => Self.PointsOnly.GetValueOrDefault(false); set => Self.PointsOnly = value; }
3738
/// <inheritdoc cref="IGeoShapeProperty.IgnoreMalformed"/>
3839
public bool IgnoreMalformed { get => Self.IgnoreMalformed.GetValueOrDefault(false); set => Self.IgnoreMalformed = value; }
40+
/// <inheritdoc cref="IGeoShapeProperty.IgnoreZValue"/>
41+
public bool IgnoreZValue { get => Self.IgnoreZValue.GetValueOrDefault(false); set => Self.IgnoreZValue = value; }
3942
}
4043
}

0 commit comments

Comments
 (0)