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
Created a parameter parser to standardise script options #7977
Created a parameter parser to standardise script options #7977
Conversation
LGTM |
@s1monw thanks for the review, unfortunately I had forgotten to make the scripted metric aggregation use the ScriptParameterParser so have added a new commit to the PR |
LGTM still :) |
@colings86 this change was backported to 1.x in a bw comp manner but breaks backwards compatibility on master I think, as only the new parameters get read on master now, is that right? If so this PR might deserve the breaking label (although confusing cause it's breaking only on master branch). |
This is only a breaking change in 2.0 |
Is there any get around, for 1.4.4? When i use the script fields "(
And when i use the
So now i can't use the scripted metric aggregation on 1.4.4 |
@kurtzhong I just tried the following gist on Elasticsearch 1.4.4 with the default config (apart form enabling CORS and setting the cluster name) and it worked. Could you try this on your cluster and let me know if it works? The location of the scripts is very important, they must be in a folder called |
We had to explicitly set the
|
No description provided.