CuVS Java API provides a Java based simple, efficient, and a robust vector search API.
Caution
CuVS 25.06 contains an experimental version and updates to this API are expected in the coming release.
- 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.
A few starter examples of CAGRA, HNSW, and Bruteforce index are provided in the examples directory.