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

Stop using deprecated "stored" field in scripts for updates #2213

Open
masseyke opened this issue Apr 4, 2024 · 0 comments
Open

Stop using deprecated "stored" field in scripts for updates #2213

masseyke opened this issue Apr 4, 2024 · 0 comments
Labels

Comments

@masseyke
Copy link
Member

masseyke commented Apr 4, 2024

As part of #918 and #538 we added the ability to call a stored script from an update. Shortly after that, the stored keyword was deprecated (https://github.com/elastic/elasticsearch/blob/main/server/src/main/java/org/elasticsearch/script/ScriptType.java#L42
was deprecated here elastic/elasticsearch#25127). It looks like we need to be using id instead where we currently use stored here: https://github.com/elastic/elasticsearch-hadoop/blob/main/mr/src/main/java/org/elasticsearch/hadoop/serialization/bulk/UpdateBulkFactory.java#L82

@masseyke masseyke added the :Core label Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant