Skip to content

Commit 13a7e1e

Browse files
authored
Fix compilation reference to int4 dot product (#15199)
conflict between #14863 and #15169 that wasn't caught in testing before merge.
1 parent 594eeb7 commit 13a7e1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lucene/core/src/java/org/apache/lucene/codecs/lucene104/Lucene104ScalarQuantizedVectorScorer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ private static float quantizedScore(
168168
switch (scalarEncoding) {
169169
case UNSIGNED_BYTE -> VectorUtil.uint8DotProduct(quantizedQuery, quantizedDoc);
170170
case SEVEN_BIT -> VectorUtil.dotProduct(quantizedQuery, quantizedDoc);
171-
case PACKED_NIBBLE -> VectorUtil.int4DotProductPacked(quantizedQuery, quantizedDoc);
171+
case PACKED_NIBBLE -> VectorUtil.int4DotProductSinglePacked(quantizedQuery, quantizedDoc);
172172
};
173173
OptimizedScalarQuantizer.QuantizationResult indexCorrections =
174174
targetVectors.getCorrectiveTerms(targetOrd);

0 commit comments

Comments
 (0)