@@ -104,8 +104,26 @@ public void testScore() throws Exception {
104104 );
105105 final ES91OSQVectorsScorer defaultScorer = defaultProvider ().newES91OSQVectorsScorer (slice , dimensions );
106106 final ES91OSQVectorsScorer panamaScorer = maybePanamaProvider ().newES91OSQVectorsScorer (in , dimensions );
107- defaultScorer .scoreBulk (query , result , similarityFunction , centroidDp , scores1 );
108- panamaScorer .scoreBulk (query , result , similarityFunction , centroidDp , scores2 );
107+ defaultScorer .scoreBulk (
108+ query ,
109+ result .lowerInterval (),
110+ result .upperInterval (),
111+ result .quantizedComponentSum (),
112+ result .additionalCorrection (),
113+ similarityFunction ,
114+ centroidDp ,
115+ scores1
116+ );
117+ panamaScorer .scoreBulk (
118+ query ,
119+ result .lowerInterval (),
120+ result .upperInterval (),
121+ result .quantizedComponentSum (),
122+ result .additionalCorrection (),
123+ similarityFunction ,
124+ centroidDp ,
125+ scores2
126+ );
109127 for (int j = 0 ; j < ES91OSQVectorsScorer .BULK_SIZE ; j ++) {
110128 if (scores1 [j ] > (maxDims * Short .MAX_VALUE )) {
111129 int diff = (int ) (scores1 [j ] - scores2 [j ]);
0 commit comments