You're viewing version 1.1 of the OpenSearch documentation. This version is no longer maintained. For the latest version, see the current documentation. For information about OpenSearch version maintenance, see Release Schedule and Maintenance Policy.
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.