cuVS Java API provides a Java based simple, efficient, and a robust vector search API.
Caution
This contains an experimental APIs and may change in upcoming releases.
- CuVS libraries
- maven 3.9.6 or above
- JDK 22
- jextract for JDK 22 (If not already installed, the build script downloads it)
The libcuvs C and C++ libraries are needed for this API. If libcuvs libraries have not been built and installed, use ./build.sh libcuvs java in the top level directory to build this API.
Alternatively, if libcuvs libraries are already built and you just want to build this API, please
do ./build.sh java in the top level directory or just do ./build.sh in this directory.
Run ./build.sh --run-java-tests from this directory.
A few starter examples of CAGRA, HNSW, and Bruteforce indexing and searching are provided in the examples directory.