Skip to content

Commit 0a32831

Browse files
committed
Add new allocation explain response properties added in ES 5.2.1
1 parent ca90c49 commit 0a32831

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

src/Nest/Cluster/ClusterAllocationExplain/ClusterAllocationExplainResponse.cs

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,8 +240,23 @@ public enum StoreCopy
240240
[JsonObject]
241241
public class AllocationStore
242242
{
243-
[JsonProperty("shard_copy")]
244-
public StoreCopy ShardCopy { get; set; }
243+
[JsonProperty("found")]
244+
public bool? Found { get; set; }
245+
246+
[JsonProperty("in_sync")]
247+
public bool? InSync { get; set; }
248+
249+
[JsonProperty("allocation_id")]
250+
public string AllocationId { get; set; }
251+
252+
[JsonProperty("matching_sync_id")]
253+
public bool? MatchingSyncId { get; set; }
254+
255+
[JsonProperty("matching_size_in_bytes")]
256+
public long? MatchingSizeInBytes { get; set; }
257+
258+
[JsonProperty("store_exception")]
259+
public string StoreException { get; set; }
245260
}
246261

247262
[JsonObject]

0 commit comments

Comments
 (0)