Skip to content

field_masking_span is deprecated in ES8.0+ but still used in java client  #809

Closed
@vdemay

Description

@vdemay

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 of span_field_masking. Ref: https://github.com/elastic/elasticsearch/pull/74718/files

This 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: SpecificationRelated to the API spec used to generate client codeCategory: BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions