diff --git a/src/Nest/Indices/Monitoring/IndicesStats/IndexStats.cs b/src/Nest/Indices/Monitoring/IndicesStats/IndexStats.cs index 3c4a44adb02..2a4b729f425 100644 --- a/src/Nest/Indices/Monitoring/IndicesStats/IndexStats.cs +++ b/src/Nest/Indices/Monitoring/IndicesStats/IndexStats.cs @@ -48,6 +48,9 @@ public class IndexStats [DataMember(Name ="segments")] public SegmentsStats Segments { get; set; } + [DataMember(Name = "shard_stats")] + public ShardTotalStats ShardStats { get; set; } + [DataMember(Name ="store")] public StoreStats Store { get; set; } diff --git a/src/Nest/Indices/Monitoring/IndicesStats/ShardTotalStats.cs b/src/Nest/Indices/Monitoring/IndicesStats/ShardTotalStats.cs new file mode 100644 index 00000000000..ce15802e331 --- /dev/null +++ b/src/Nest/Indices/Monitoring/IndicesStats/ShardTotalStats.cs @@ -0,0 +1,14 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information + +using System.Runtime.Serialization; + +namespace Nest +{ + public class ShardTotalStats + { + [DataMember(Name = "total_count")] + public long TotalCount { get; set; } + } +}