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
ScriptParameterParseException when upgrading from 1.4 -> 1.5.2 #10926
Comments
@colings86 please could you take a look. probably related to #7977 |
Note to others; the only workaround I have found that works is to recreate the index and set lang property on transform explicitly. Perhaps there is a way to update an existing transform but it is not mentioned in the Transform Documentation at this time. |
@aewhite thanks for raising this. When the transform is written in the mapping the script language is written even if it is set to null (null meaning use the default). I have opened PR #10976 which lets the parser reading the stored mapping read null for the script language instead of throwing an error |
@aewhite thanks again for raising this. The fix has now been merged in and should be available from 1.5.3 |
After upgrading from 1.4 -> 1.5.2 shards fail to load due to ScriptParameterParseException.
Stacktrace:
The cause as I can best understand is the
lang
property is getting set to null for some transform scripts. We do not explicitly set the lang so this was unexpected. Our process is to use a template...However, the mapping produced after an index creation (in 1.4) is...
The above mapping works in 1.4 but not in 1.5 it seems.
The text was updated successfully, but these errors were encountered: