We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
elasticsearch_dsl==7.4.0
The script param is assumed to be a string here:
elasticsearch-dsl-py/elasticsearch_dsl/document.py
Line 391 in c089a40
but there is no way to set the language of the script.
It would be more intuitive if it set body["script"] = script if the script param were a dict.
body["script"] = script
The text was updated successfully, but these errors were encountered:
That'd be a nice addition, would you be able to open a PR with the feature and test(s)?
Sorry, something went wrong.
ok
@sethmlarson could you review the pr?
Successfully merging a pull request may close this issue.
elasticsearch_dsl==7.4.0
The script param is assumed to be a string here:
elasticsearch-dsl-py/elasticsearch_dsl/document.py
Line 391 in c089a40
but there is no way to set the language of the script.
It would be more intuitive if it set
body["script"] = script
if the script param were a dict.The text was updated successfully, but these errors were encountered: