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 4b982da commit c2cdc0aCopy full SHA for c2cdc0a
docs/changelog/135851.yaml
@@ -0,0 +1,5 @@
1
+pr: 135851
2
+summary: DiskBBQ - missing min competitive similarity check on tail docs
3
+area: Vector Search
4
+type: bug
5
+issues: []
server/src/main/java/org/elasticsearch/index/codec/vectors/diskbbq/ES920DiskBBQVectorsReader.java
@@ -568,7 +568,9 @@ public int visit(KnnCollector knnCollector) throws IOException {
568
qcDist
569
);
570
scoredDocs++;
571
- knnCollector.collect(doc, score);
+ if (knnCollector.minCompetitiveSimilarity() < score) {
572
+ knnCollector.collect(doc, score);
573
+ }
574
} else {
575
indexInput.skipBytes(quantizedByteLength);
576
}
0 commit comments