You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm getting an exception when running a PIT request. The missing field is OpenPointInTimeResponse.shards. . Filing a bug as requested in the docs.
I initially posted in a different ticket. I was told there it is probably related to this recent change. The elasticsearch server should always send _shard in the response from version 8.16.0 forward.
Thanks!
The first error was caused by: node: https://localhost:50388/, status: 200, [es/open_point_in_time] Failed to decode response
co.elastic.clients.transport.TransportException: node: https://localhost:50388/, status: 200, [es/open_point_in_time] Failed to decode response
at co.elastic.clients.transport.ElasticsearchTransportBase.decodeTransportResponse(ElasticsearchTransportBase.java:409)
at co.elastic.clients.transport.ElasticsearchTransportBase.getApiResponse(ElasticsearchTransportBase.java:367)
at co.elastic.clients.transport.ElasticsearchTransportBase.performRequest(ElasticsearchTransportBase.java:148)
at co.elastic.clients.elasticsearch.ElasticsearchClient.openPointInTime(ElasticsearchClient.java:1809)
[...]
Caused by: co.elastic.clients.util.MissingRequiredPropertyException: Missing required property 'OpenPointInTimeResponse.shards'
Hey!
Could you let me know how you are performing the OpenPointInTimeRequest? I just tried to reproduce the issue with a 8.17.0 server instance and it looks like the shards field is indeed always returned.
Java API client version
8.17.0
Java version
17 (kotlin 2.0.x)
Elasticsearch Version
8.17.0
Problem description
Hi, I'm getting an exception when running a PIT request. The missing field is
OpenPointInTimeResponse.shards.
. Filing a bug as requested in the docs.I initially posted in a different ticket. I was told there it is probably related to this recent change. The elasticsearch server should always send
_shard
in the response from version 8.16.0 forward.Thanks!
cc @l-trotta
The text was updated successfully, but these errors were encountered: