Closed vdemay closed 1 month ago
Hello, thank you for reporting this! Unfortunately we cannot accept PRs in this repo since the java client is 99% autogenerated from our api-specification. If you want you can contribute there to fix the issue for all clients :D otherwise we'll do it. Thanks!
Hello, thanks for your answer. I'll do
You can find the new PR in api-specification project
Thanks for your help!
Thanks again for providing a fix! Closing this as it will be part of the next minor release :)
Java API client version
8.13.4
Java version
11
Elasticsearch Version
8.13.4
Problem description
Hello,
Since ES8.0
field_masking_span
is deprecated in favor ofspan_field_masking
. Ref: https://github.com/elastic/elasticsearch/pull/74718/filesThis change is not reflected to
elasticsearch-java
client causing exception on ES:deprecated fields not supported here but got [field_masking_span] which has been replaced with [span_field_masking]
I've made this PR to propose a fix. (I signed the agreement right after creating the PR making the validation failed - sorry about that :) )
Thanks for your help