Open
Description
Elastic.Clients.Elasticsearch version: 8.16.3
Elasticsearch version: 8.11.4
.NET runtime version: 9.0.101
Description of the problem including expected versus actual behavior:
A clear and concise description of what the bug is.
Steps to reproduce:
- Call
client.Indices.Recovery(Async)
on an index Elastic.Transport.UnexpectedTransportException: The JSON value could not be converted to System.Double. Path: $['suggestion_28'].shards[0].index.size.percent | LineNumber: 25 | BytePositionInLine: 30. ---> System.Text.Json.JsonException: The JSON value could not be converted to System.Double. Path: $['suggestion_28'].shards[0].index.size.percent | LineNumber: 25 | BytePositionInLine: 30.
is thrown
Expected behavior
Recovery(Async) returns a RecoveryResponse without crashing
Provide DebugInformation
(if relevant):
According to https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-recovery.html "percent" represents a string including the percent sign. However Percent
in RecoveryBytes
is of type double and can't be deserialized due to the percent sign.