Skip to content

Commit 27b6b2a

Browse files
committed
Add clarification to javadoc
1 parent 4e31f1e commit 27b6b2a

File tree

1 file changed

+1
-1
lines changed
  • jvector-base/src/main/java/io/github/jbellis/jvector/quantization

1 file changed

+1
-1
lines changed

jvector-base/src/main/java/io/github/jbellis/jvector/quantization/PQVectors.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ public static ImmutablePQVectors encodeAndBuild(ProductQuantization pq, int[] or
112112
*
113113
* @param pq the ProductQuantization to use
114114
* @param vectorCount the number of vectors to encode
115-
* @param ordinalsMapping the graph ordinals to RAVV mapping
115+
* @param ordinalsMapping the graph ordinals to RAVV mapping, the function should be defined in [0, vectorCount)
116116
* @param ravv the RandomAccessVectorValues to encode
117117
* @param simdExecutor the ForkJoinPool to use for SIMD operations
118118
* @return the PQVectors instance

0 commit comments

Comments
 (0)