elastic / elasticsearch-java

Official Elasticsearch Java Client
Apache License 2.0
397 stars 228 forks source link

AllocationRecord has no nodeRole method #835

Closed mariuszpala closed 1 week ago

mariuszpala commented 1 month ago

Java API client version

8.14.1

Java version

21

Elasticsearch Version

8.14.1

Problem description

The AllocationRecord class has no nodeRole method although _cat/allocation return node.role, all other properties are available in the record except nodeRole

l-trotta commented 1 month ago

Hello, thanks for reporting this! The field seems to be missing from the API specification used to produce the Java code, once added there we'll regenerate the client to solve the issue.

mariuszpala commented 1 week ago

Thank you, in which version of the library this fix is available?

l-trotta commented 1 week ago

Not yet available! It will be either in the next 8.14.X (after 8.14.3) or 8.15