elasticsearch-java
elasticsearch-java copied to clipboard
Allow sending the `null` value where it has a specific meaning
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