Skip to content

Commit 916214e

Browse files
committed
Add xml comment to GeoShapeRelation.Contains
This commit adds a comment to GeoShapeRelation.Contains to indicate where it is supported.
1 parent 82b75f9 commit 916214e

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

src/Nest/CommonOptions/Geo/GeoShapeRelation.cs

+14
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,29 @@ namespace Nest
66
[StringEnum]
77
public enum GeoShapeRelation
88
{
9+
/// <summary>
10+
/// INTERSECTS relation.
11+
/// </summary>
912
[EnumMember(Value = "intersects")]
1013
Intersects,
1114

15+
/// <summary>
16+
/// DISJOINT relation.
17+
/// </summary>
1218
[EnumMember(Value = "disjoint")]
1319
Disjoint,
1420

21+
/// <summary>
22+
/// WITHIN relation.
23+
/// </summary>
1524
[EnumMember(Value = "within")]
1625
Within,
1726

27+
/// <summary>
28+
/// CONTAINS relation.
29+
/// <para />
30+
/// Supported for indices created with Elasticsearch 7.5.0+
31+
/// </summary>
1832
[EnumMember(Value = "contains")]
1933
Contains
2034
}

0 commit comments

Comments
 (0)