#2121st of 29 in Vector databases
jvector
Java graph-based vector index combining HNSW layers with DiskANN's Vamana
- Stars
- 1.8k
- License
- Apache-2.0
- Last commit
- Nov 2026
- Last release
- Nov 2026
- Language
- Java
1,704 on 1 May 20261,759 on 20 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
JVector is an embeddable Java library for approximate nearest neighbor search. It builds a multi-layer graph that borrows HNSW's hierarchy and uses Vamana within each layer, with upper layers in memory and the bottom layer on disk. Searches run in two passes: compressed vectors (PQ, BQ or fused PQ) in memory first, then full float32 or NVQ vectors from disk.
Who it is for: Java developers embedding disk-backed vector search in their own applications
Strengths
- Index construction scales with core count via nonblocking concurrency control
- Can build larger-than-memory indexes using two-pass search during construction
- Multiple quantization options: PQ with anisotropic weighting, BQ, fused PQ, NVQ
- Multirelease jar works from Java 11 code and uses SIMD on newer JVMs
Weaknesses
- Library only; no standalone server or network API is described
- Native Highway SIMD provider bundled only for Linux x86-64 and AArch64
- Native SIMD needs Java 22+ with incubator Vector module and JVM flags
- Building native library requires g++ 11+, Meson, Ninja and a git submodule
What it needs
- no GPU
- Needs Java 11+ (Java 20+ for Vector API, 22+ for native SIMD), Maven, g++ 11+, Meson, Ninja (native build only)
What changed
- 4.0.2 ↗ (opens in a new tab)Breaking
“OnDiskGraphIndexCompactor now assigns its own output ordinals, because locality in the output”
From the release notes. No flag means the note does not say so, not that the upgrade is safe.
Known problems
Open now, reported in the last 90 days
Reported, then fixed by a linked change
- Validate lengths in existing native in-place vector operations ↗ (opens in a new tab)0 reactions · closed 12 Nov 2026Fixed by Validate vector lengths in native addInPlace/subInPlace/minInPlace ↗ (opens in a new tab)
- GraphSearcher Assertion can fail for dot product when all candidates score negative ↗ (opens in a new tab)0 reactions · closed 14 Oct 2026Fixed by bug fix for non-normalized dot product vectors returning no matches and causing assertion to fail if using hierarchy ↗ (opens in a new tab)
- ProductQuantization.compute fails with an opaque wrapped error when the corpus is smaller than the cluster count ↗ (opens in a new tab)0 reactions · closed 3 Aug 2026Fixed by Improve PQ training error message ↗ (opens in a new tab)
- Search pruning via usePruning can be too aggressive for non-hierarchical graph indices ↗ (opens in a new tab)0 reactions · closed 7 Jul 2026Fixed by Disable graph search pruning ↗ (opens in a new tab)
- Dataset scrubbing in DataSetUtils invalidates ground truth and can inject null ground truth ordinals ↗ (opens in a new tab)0 reactions · closed 22 Jun 2026Fixed by Make benchmark dataset scrubbing metadata-driven and unify HDF5/MFD load behavior ↗ (opens in a new tab)
Titles are the reporters' own words, taken from the project's GitHub issues and ranked by reactions. We have not tried to reproduce any of them.
Also in Vector databases
See all 29| Rank | Project | Score |
|---|---|---|
| #19 | hnswlibHeader-only C++ library for approximate nearest neighbor search with HNSW graphs | 59 out of 100 |
| #20 | attuManagement UI for Milvus clusters with data browsing, search and an AI agent | 58 out of 100 |
| #22 | sptagC++ library for approximate nearest neighbor search over large vector sets | 56 out of 100 |
| #23 | pgvectorscalePostgreSQL extension adding a StreamingDiskANN vector index on top of pgvector | 56 out of 100 |
| #24 | valdDistributed approximate nearest neighbor vector search engine for Kubernetes | 53 out of 100 |