Describe the issue:
Hi everyone, I want to use kNN plugin of OpenSearch in its Java client, however I am not able to use it. I added it as a dependency, it seems that I cannot even import it.
Configuration:
When I import a module in knn, like
import org.opensearch.knn.index.SpaceType;
the error is Cannot resolve symbol 'knn'.
Relevant Logs or Screenshots:
The library is shown in External Libraries but not able to import.
For those experiencing the same issue, if you use Gradle, it downloads the library as a .zip file. While I am not entirely sure if this resolves the problem, adding unzipping modules seems to help:
So after a few trials, my solution does not seem to work for me I downloaded .jar file from maven and add it to my projects libs/path and then configured my gradle file as this