jtibshirani commented on a change in pull request #239:
URL: https://github.com/apache/lucene/pull/239#discussion_r685781468



##########
File path: lucene/core/src/java/org/apache/lucene/index/CodecReader.java
##########
@@ -220,7 +220,7 @@ public final TopDocs searchNearestVectors(String field, 
float[] target, int k)
       return null;
     }
 
-    return getVectorReader().search(field, target, k);
+    return getVectorReader().search(field, target, k, getLiveDocs());

Review comment:
       To check I understand, you're thinking of a wrapper like 
`FilterLeafReader`, specifically a use case like `SoftDeletesFilterLeafReader`?




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to