field_masking_span
is deprecated in ES8.0+ but still used in java client
#809
Labels
Area: Specification
Related to the API spec used to generate client code
Category: Bug
Something isn't working
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
The text was updated successfully, but these errors were encountered: