Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix field_masking_span to span_field_masking #2563

Merged

Conversation

vdemay
Copy link
Contributor

@vdemay vdemay commented May 17, 2024

field_masking_span has been deprecated since ES8.0 in favor of span_field_masking. Ref: https://github.com/elastic/elasticsearch/pull/74718/files

This change is not reflected in APIs causing exception in ES >= 8.0:
deprecated fields not supported here but got [field_masking_span] which has been replaced with [span_field_masking]

The following PR fix this replacing field_masking_span queries by span_field_masking

Copy link
Contributor

@l-trotta l-trotta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@l-trotta l-trotta merged commit b648f1d into elastic:main May 27, 2024
6 checks passed
github-actions bot pushed a commit that referenced this pull request May 27, 2024
l-trotta pushed a commit that referenced this pull request May 27, 2024
(cherry picked from commit b648f1d)

Co-authored-by: Vincent Demay <vincent@demay-fr.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants