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

731 B

layout title nav_order parent has_children redirect_from
default JNI library 6 k-NN false /knn/jni-library/

JNI library

To integrate nmslib's approximate k-NN functionality (implemented in C++) into the k-NN plugin (implemented in Java), we created a Java Native Interface library, which lets the k-NN plugin leverage nmslib's functionality. To see how we build the JNI library binary and learn how to get the most of it in your production environment, see JNI Library Artifacts.

For more information about JNI, see Java Native Interface on Wikipedia.