jtibshirani commented on code in PR #932:
URL: https://github.com/apache/lucene/pull/932#discussion_r912381221


##########
lucene/core/src/test/org/apache/lucene/util/hnsw/KnnGraphTester.java:
##########
@@ -480,11 +537,15 @@ private int[][] getNN(Path docPath, Path queryPath) 
throws IOException {
     String hash = Integer.toString(Objects.hash(docPath, queryPath, numDocs, 
numIters, topK), 36);
     String nnFileName = "nn-" + hash + ".bin";
     Path nnPath = Paths.get(nnFileName);
-    if (Files.exists(nnPath) && isNewer(nnPath, docPath, queryPath)) {
+    if (Files.exists(nnPath)

Review Comment:
   Oops I read the logic incorrectly, thanks for clarifying!



-- 
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: issues-unsubscr...@lucene.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to