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

Allow sending the `null` value where it has a specific meaning

Open swallez opened this issue 2 years ago • 0 comments

Description

Some fields in the settings API handle null values differently from missing values: sending null resets the settings to their default value. This is currently not supported in the Java API client.

See:

  • https://discuss.elastic.co/t/java-api-client-how-to-reset-index-settings-value/329059 where this was reported
  • https://github.com/elastic/elasticsearch-specification/issues/2049 to capture this in the API specification

swallez avatar Mar 31 '23 15:03 swallez