elasticsearch-java
elasticsearch-java copied to clipboard
Inconsistent type for IndexTemplate priority
Java API client version
8.13.0
Java version
1.8
Elasticsearch Version
8.11.3
Problem description
In: co.elastic.clients.elasticsearch.indices.PutIndexTemplateRequest
we have:
@Nullable
private final Integer priority;
but in: co.elastic.clients.elasticsearch.indices.IndexTemplate
we have:
@Nullable
private final Long priority;
Looks like is the same field used by different endpoint, so should have the same type in API.
Hello, thanks for reporting this! I'll check which one is the correct one and make sure it's consistent everywhere.
fixed, will be part of the next minor version