elasticsearch-java icon indicating copy to clipboard operation
elasticsearch-java copied to clipboard

AllocationRecord has no nodeRole method

Open mariuszpala opened this issue 1 year ago • 1 comments

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

mariuszpala avatar Jun 18 '24 08:06 mariuszpala

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.

l-trotta avatar Jun 18 '24 15:06 l-trotta

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

mariuszpala avatar Jul 12 '24 09:07 mariuszpala

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

l-trotta avatar Jul 12 '24 10:07 l-trotta