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

Es 7.0.0 support #21

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
Open

Es 7.0.0 support #21

wants to merge 14 commits into from

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.

None yet

2 participants