|
@@ -251,7 +251,7 @@ public abstract class IVFVectorsReader extends KnnVectorsReader {
|
|
|
// TODO do we need to handle nested doc counts similarly to how we handle
|
|
|
// filtering? E.g. keep exploring until we hit an expected number of parent documents vs. child vectors?
|
|
|
while (centroidIterator.hasNext()
|
|
|
- && (maxVectorVisited > actualDocs || knnCollector.minCompetitiveSimilarity() == Float.NEGATIVE_INFINITY)) {
|
|
|
+ && (maxVectorVisited > expectedDocs || knnCollector.minCompetitiveSimilarity() == Float.NEGATIVE_INFINITY)) {
|
|
|
// todo do we actually need to know the score???
|
|
|
long offset = centroidIterator.nextPostingListOffset();
|
|
|
// todo do we need direct access to the raw centroid???, this is used for quantizing, maybe hydrating and quantizing
|