I’m encountering an issue with OpenSearch KNN plugin. I am getting an error:
java.lang.UnsatisfiedLinkError: no opensearchknn_nmslib in java.library.path: /usr/java/packages/lib
I added the path to this plugin libraries in the definition of my service:
But I am getting another error:
/opensearch/plugins/opensearch-knn/lib/libopensearchknn_nmslib.so: libopensearchknn_common.so: cannot open shared object: No such file or directory
The lib is already presents under:
Thanks for your help
Please provide the below details:
- Version of Opensearch
- How you started the OpenSearch Service?
- Operating System on which you are trying to run the service?
So you also need to set 2 more variable for K-NN:
for k-NN to work.
If you have downloaded the tar.gz file, you can also start the opensearch cluster using
Documentation that can help: Tarball - OpenSearch documentation
I hope this helps.
Thanks a lot. Working well now
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.