opensearch-docs-cn/docs/knn/jni-library.md

704 B

layout title nav_order parent has_children
default JNI Library 5 k-NN false

JNI Library

In order to integrate nmslib's approximate k-NN functionality, which is implemented in C++, into the k-NN plugin, which is implemented in Java, we created a Java Native Interface library. Check out this wiki to learn more about JNI. This library allows the k-NN plugin to leverage nmslib's functionality. For more information about how we build the JNI library binary and how to get the most of it in your production environment, see here.