We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f05dd6 commit e122a04Copy full SHA for e122a04
server/src/main/java/org/elasticsearch/index/codec/vectors/DefaultIVFVectorsReader.java
@@ -550,7 +550,7 @@ public int visit(KnnCollector knnCollector) throws IOException {
550
}
551
int count = 0;
552
for (; i < vectors; i++) {
553
- int doc = docIdsScratch[count];
+ int doc = docIdsScratch[count++];
554
if (acceptDocs == null || acceptDocs.get(doc)) {
555
quantizeQueryIfNecessary();
556
float qcDist = osqVectorsScorer.quantizeScore(quantizedQueryScratch);
0 commit comments