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

Allow native scripts to set the value of a script field to primitive arrays #4175

Closed
brwe opened this issue Nov 15, 2013 · 0 comments
Closed

Comments

@brwe
Copy link
Contributor

brwe commented Nov 15, 2013

Currently, primitive arrays such as int[] and float[] cannot be set as the value of a script field by a native script because StreamInput and StreamOutput cannot read and write these types. This results in an Exception once the result is streamed.

brwe added a commit to brwe/elasticsearch that referenced this issue Nov 15, 2013
…arrays

Script fields could not be set to int[] and float[] by native
scripts because StreamInput and StreamOutput could not handle
them.

closes elastic#4175
@brwe brwe closed this as completed in faf2380 Nov 15, 2013
brwe added a commit that referenced this issue Nov 15, 2013
…arrays

Script fields could not be set to int[] and float[] by native
scripts because StreamInput and StreamOutput could not handle
them.

closes #4175
mute pushed a commit to mute/elasticsearch that referenced this issue Jul 29, 2015
…arrays

Script fields could not be set to int[] and float[] by native
scripts because StreamInput and StreamOutput could not handle
them.

closes elastic#4175
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant