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

15 lines
736 B
Markdown
Raw Normal View History

2021-05-05 13:09:47 -04:00
---
layout: default
2021-05-11 12:29:35 -04:00
title: JNI library
nav_order: 6
2021-05-05 13:09:47 -04:00
parent: k-NN
has_children: false
2021-05-28 18:20:24 -04:00
redirect_from: /docs/knn/jni-library/
2021-05-05 13:09:47 -04:00
---
2021-05-11 12:29:35 -04:00
# JNI library
2021-05-28 16:54:13 -04:00
2021-05-11 12:29:35 -04:00
To integrate [nmslib's](https://github.com/nmslib/nmslib/) 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](https://github.com/opensearch-project/k-NN#jni-library-artifacts).
2021-05-28 16:54:13 -04:00
For more information about JNI, see [Java Native Interface](https://en.wikipedia.org/wiki/Java_Native_Interface) on Wikipedia.