diff --git a/src/Nest/Indices/Monitoring/IndicesStats/ShardFieldData.cs b/src/Nest/Indices/Monitoring/IndicesStats/ShardFielddata.cs similarity index 90% rename from src/Nest/Indices/Monitoring/IndicesStats/ShardFieldData.cs rename to src/Nest/Indices/Monitoring/IndicesStats/ShardFielddata.cs index 4c8cf487e55..ab1355a852e 100644 --- a/src/Nest/Indices/Monitoring/IndicesStats/ShardFieldData.cs +++ b/src/Nest/Indices/Monitoring/IndicesStats/ShardFielddata.cs @@ -3,7 +3,7 @@ namespace Nest { [DataContract] - public class ShardFieldData + public class ShardFielddata { [DataMember(Name ="evictions")] public long Evictions { get; internal set; } diff --git a/src/Nest/Indices/Monitoring/IndicesStats/ShardStats.cs b/src/Nest/Indices/Monitoring/IndicesStats/ShardStats.cs index 48b5cf7186a..2c36b757df5 100644 --- a/src/Nest/Indices/Monitoring/IndicesStats/ShardStats.cs +++ b/src/Nest/Indices/Monitoring/IndicesStats/ShardStats.cs @@ -15,7 +15,7 @@ public class ShardStats public ShardDocs Documents { get; internal set; } [DataMember(Name ="fielddata")] - public ShardFieldData FieldData { get; internal set; } + public ShardFielddata Fielddata { get; internal set; } [DataMember(Name ="flush")] public ShardFlush Flush { get; internal set; } diff --git a/src/Tests/Tests/Indices/Monitoring/IndicesStats/IndicesStatsWithShardsInformationApiTests.cs b/src/Tests/Tests/Indices/Monitoring/IndicesStats/IndicesStatsWithShardsInformationApiTests.cs index 68f85797c5f..93c49eb808a 100644 --- a/src/Tests/Tests/Indices/Monitoring/IndicesStats/IndicesStatsWithShardsInformationApiTests.cs +++ b/src/Tests/Tests/Indices/Monitoring/IndicesStats/IndicesStatsWithShardsInformationApiTests.cs @@ -66,7 +66,7 @@ protected override void ExpectResponse(IndicesStatsResponse response) first.Flush.Should().NotBeNull(); first.Warmer.Should().NotBeNull(); first.QueryCache.Should().NotBeNull(); - first.FieldData.Should().NotBeNull(); + first.Fielddata.Should().NotBeNull(); first.Completion.Should().NotBeNull(); first.Segments.Should().NotBeNull(); first.TransactionLog.Should().NotBeNull();