Skip to content

Conversation

@Zakkery
Copy link

@Zakkery Zakkery commented Apr 22, 2019

This should support ES v 7.0.0.

Iakov Gorelik and others added 7 commits January 30, 2019 17:23
…ncodedVector field, added runAsLong(), changed searchVector to be a primitive type, made SCRIPT_SOURCE private static class member
…ats (for performance reasons), this was missed
if (cosine) {
double docVectorNorm = 0.0f;
for (int i = 0; i < inputVector.length; i++) {
double v = Double.longBitsToDouble(input.readLong());
Copy link
Owner

@lior-k lior-k Apr 23, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Zakkery. note that this was changed to float in master. please review again

Iakov Gorelik and others added 7 commits April 23, 2019 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants