-
Notifications
You must be signed in to change notification settings - Fork 16
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
BUILD FAILD #1
Comments
same error |
same error, please help |
Hey @mrox and @xemose, git clone https://github.com/elastic/elasticsearch.git
cd elasticsearch
git checkout v6.3.1 # <- or whatever your version is
cd plugins
git clone https://github.com/muhleder/elasticsearch-vector-scoring.git
cd elasticsearch-vector-scoring/
gradle clean assemble
elasticsearch-plugin install file:///path/to/iplugin/build/distribution/FILENAME.zip I had some other problems to solve (openjdk version, set JAVA_HOME, gradle version) but now its building. |
The post above me should be the install instructions for this repository. Thank you so much! P.S what JDK version did you use? 10.0.2 isn't working...
|
I had the same problem and i solved it by using gradle v4.7, not 4.9: My versions:
|
you can use |
You can also change the build.gradle file, so this way you don't need to checkout the Elasticsearch project:
Just run |
Can anyone verify that the solution above works? |
Same can't build : anyway to build some zip releases please ? i need for v6.2.4 ? |
Try updating your Elasticsearch to the latest version. At the time of writing this, the latest version was 6.4.0. On Elasticsearch version 6.3.2, I got it to compile using @knoblochtobias solution above. Edit: You do need a specific JDK version, so I would recommend a fresh installation. Debian 9 wouldn't acknowledge the new Java version. Updating the PATH in the system didn't work. |
For those running 6.4.x+ we've created a port from lior-k's original libary that used the new ScoreScript class. Is not backwards compatible < 6.4. https://github.com/StaySense/fast-cosine-similarity |
I am currently using v6.2.4, solution given by @edmarsj works. |
@cakirmuha Is upgrading to 6.4 an option? If so, the plugin we ported is already compiled in the repo and ready for installation. It won't work <6.4 though. |
Thanks @wmelton, but as I said, I am currently using v6.2.4 in production environment, and this plugin works for me. I don't want to upgrade to 6.4 :) |
Understood - upgrade would likely be your least painful path to the result you’re wanting.
Get Outlook for iOS<https://aka.ms/o0ukef>
…________________________________
From: Muhammet Çakır <[email protected]>
Sent: Saturday, October 27, 2018 6:28 AM
To: muhleder/elasticsearch-vector-scoring
Cc: Wes; Mention
Subject: Re: [muhleder/elasticsearch-vector-scoring] BUILD FAILD (#1)
Thanks @wmelton<https://github.com/wmelton>, but as I said, I am currently using v6.2.4 in production environment, and this plugin works for me. I don't want to upgrade to 6.4 :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#1 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/ABePvZa7eVy2_b2lYX9rDCvzT6WUIR6Uks5upDVngaJpZM4SSujd>.
|
Hi there,
I'm new to Java and I was trying to build this plugin by gradle.
Any suggestion?
Thanks
The text was updated successfully, but these errors were encountered: