Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,4 @@ ivf_pq_index

# java
.classpath
cufile.log
4 changes: 2 additions & 2 deletions conda/environments/all_cuda-129_arch-aarch64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ dependencies:
- libopenblas<=0.3.30
- librmm==26.12.*,>=0.0.0a0
- make
- maven=3.9.*
- maven>=3.10.0,<3.11.0
- nccl>=2.19
- ninja
- nodejs>=22
- numpy>=2.0,<3.0
- openblas
- openjdk=22.*
- openjdk>=22,<23
- pre-commit
- pylibraft==26.12.*,>=0.0.0a0
- pytest
Expand Down
4 changes: 2 additions & 2 deletions conda/environments/all_cuda-129_arch-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ dependencies:
- libnvjitlink-dev
- librmm==26.12.*,>=0.0.0a0
- make
- maven=3.9.*
- maven>=3.10.0,<3.11.0
- nccl>=2.19
- ninja
- nodejs>=22
- numpy>=2.0,<3.0
- openblas
- openjdk=22.*
- openjdk>=22,<23
- pre-commit
- pylibraft==26.12.*,>=0.0.0a0
- pytest
Expand Down
4 changes: 2 additions & 2 deletions conda/environments/all_cuda-133_arch-aarch64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ dependencies:
- libopenblas<=0.3.30
- librmm==26.12.*,>=0.0.0a0
- make
- maven=3.9.*
- maven>=3.10.0,<3.11.0
- nccl>=2.19
- ninja
- nodejs>=22
- numpy>=2.0,<3.0
- openblas
- openjdk=22.*
- openjdk>=22,<23
- pre-commit
- pylibraft==26.12.*,>=0.0.0a0
- pytest
Expand Down
4 changes: 2 additions & 2 deletions conda/environments/all_cuda-133_arch-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ dependencies:
- libnvjitlink-dev
- librmm==26.12.*,>=0.0.0a0
- make
- maven=3.9.*
- maven>=3.10.0,<3.11.0
- nccl>=2.19
- ninja
- nodejs>=22
- numpy>=2.0,<3.0
- openblas
- openjdk=22.*
- openjdk>=22,<23
- pre-commit
- pylibraft==26.12.*,>=0.0.0a0
- pytest
Expand Down
6 changes: 3 additions & 3 deletions dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -330,8 +330,8 @@ dependencies:
# spotless-fmt pre-commit hook requires Maven and a JDK
- output_types: [conda]
packages:
- maven=3.9.*
- &openjdk openjdk=22.*
- maven>=3.10.0,<3.11.0
- &openjdk openjdk>=22,<23
clang:
common:
- output_types: conda
Expand Down Expand Up @@ -656,7 +656,7 @@ dependencies:
packages:
- *cmake_ver
- libboost-devel
- maven=3.9.*
- maven>=3.10.0,<3.11.0
- *openjdk
bench:
common:
Expand Down
19 changes: 14 additions & 5 deletions examples/java/cuvs-java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -114,24 +114,33 @@ SPDX-License-Identifier: Apache-2.0
<!-- clean lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#clean_Lifecycle -->
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<version>3.4.0</version>
<version>3.5.0</version>
</plugin>
<!-- default lifecycle, jar packaging: see https://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_jar_packaging -->
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>3.3.1</version>
<version>3.5.0</version>
</plugin>
<plugin>
<!-- Keep at 3.5.x: 3.6.0 switches to the JUnit Platform provider, which breaks '-Dtest=Class#method' filtering with the randomizedtesting runner (surefire-junit4 is not published past 3.5.6). -->
<artifactId>maven-surefire-plugin</artifactId>
<version>3.5.6</version>
</plugin>
<plugin>
<artifactId>maven-install-plugin</artifactId>
<version>3.2.0</version>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.13.0</version>
<version>3.16.0</version>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<version>3.4.2</version>
<version>3.5.1</version>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.4.2</version>
<version>3.8.0</version>
<executions>
<execution>
<id>make-jar-with-dependencies</id>
Expand Down
21 changes: 11 additions & 10 deletions examples/java/cuvs-lucene/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.6.0</version>
<version>3.8.0</version>
<configuration>
<descriptors>
<descriptor>src/main/assembly/jar-with-merged-services.xml</descriptor>
Expand Down Expand Up @@ -162,39 +162,40 @@
<plugins>
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<version>3.4.0</version>
<version>3.5.0</version>
</plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>3.3.1</version>
<version>3.5.0</version>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.13.0</version>
<version>3.16.0</version>
</plugin>
<plugin>
<!-- Keep at 3.5.x: 3.6.0 switches to the JUnit Platform provider, which breaks '-Dtest=Class#method' filtering with the randomizedtesting runner (surefire-junit4 is not published past 3.5.6). -->
<artifactId>maven-surefire-plugin</artifactId>
<version>3.3.0</version>
<version>3.5.6</version>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<version>3.4.2</version>
<version>3.5.1</version>
</plugin>
<plugin>
<artifactId>maven-install-plugin</artifactId>
<version>3.1.2</version>
<version>3.2.0</version>
</plugin>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<version>3.1.2</version>
<version>3.2.0</version>
</plugin>
<plugin>
<artifactId>maven-site-plugin</artifactId>
<version>3.12.1</version>
<version>3.22.0</version>
</plugin>
<plugin>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>3.6.1</version>
<version>3.9.0</version>
</plugin>
</plugins>
</pluginManagement>
Expand Down
4 changes: 2 additions & 2 deletions fern/pages/installation/java.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ If you use locally built native libraries, make sure the directory containing `l

Java development also requires:

1. Maven 3.9.6 or newer.
1. Maven 3.10 or newer.
2. JDK 22.
3. jextract for JDK 22. If it is not already installed, the build script downloads it.

Expand Down Expand Up @@ -69,7 +69,7 @@ java/panama-bindings/generate-bindings.sh

`cuvs-lucene` provides Apache Lucene codecs that offload vector index build, and optionally search, to the GPU. It is published as a separate artifact that builds on the Java API described above. For usage guidance, see the [Lucene Integration](/user-guide/lucene) guide.

`cuvs-lucene` targets Lucene 10.2, requires JDK 22 and Maven 3.9.6 or newer, and inherits the NVIDIA cuVS [CUDA GPU requirements](/installation#cuda-gpu-requirements).
`cuvs-lucene` targets Lucene 10.2, requires JDK 22 and Maven 3.10 or newer, and inherits the NVIDIA cuVS [CUDA GPU requirements](/installation#cuda-gpu-requirements).

`Lucene101AcceleratedHNSWCodec` falls back to CPU index construction when no GPU or native library is available, so an application using it works on GPU and non-GPU hosts alike. The other three codecs require a working cuVS installation. See [Lucene Integration](/user-guide/lucene) for details.

Expand Down
1 change: 0 additions & 1 deletion java/.gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
*.iml
hs_err*.log
cufile.log
target/
jextract-22/
openjdk-22-jextract*
Expand Down
2 changes: 1 addition & 1 deletion java/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ cuVS Java API provides a Java based simple, efficient, and a robust vector searc
## Prerequisites

- [CuVS libraries](https://docs.nvidia.com/cuvs/installation#build-from-source)
- [maven 3.9.6 or above](https://maven.apache.org/download.cgi)
- [maven 3.10 or above](https://maven.apache.org/download.cgi)
- [JDK 22](https://openjdk.org/projects/jdk/22/)
- [jextract for JDK 22](https://jdk.java.net/jextract/) (If not already installed, the build script downloads it)

Expand Down
Loading
Loading