-
Notifications
You must be signed in to change notification settings - Fork 276
Closed
Labels
Category: BugSomething isn't workingSomething isn't working
Description
Java API client version
8.5.1
Java version
17
Elasticsearch Version
8.5.1
Problem description
The generated request body does not match with the Elasticsearch API for the PUT /_ilm/policy/<name>
endpoint.
Example
Following Body was generated by the Client for the PUT /_ilm/policy/<name>
request
{
"policy": {
"phases": {
"hot": {
"actions": {
"rollover": {
"max_primary_shard_size": "5gb",
"max_age": null,
"max_docs": null
}
},
"min_age": "0m"
}
}
}
}
The following body is expected by the elasticsearch API:
{
"phases": {
"hot": {
"actions": {
"rollover": {
"max_primary_shard_size": "5gb",
"max_age": null,
"max_docs": null
}
},
"min_age": "0m"
}
}
}
Metadata
Metadata
Assignees
Labels
Category: BugSomething isn't workingSomething isn't working