shubhamvishu commented on code in PR #14963:
URL: https://github.com/apache/lucene/pull/14963#discussion_r2392828966
##########
lucene/test-framework/src/java/org/apache/lucene/tests/util/LuceneTestCase.java:
##########
@@ -3277,4 +3278,9 @@ public Executor
getIntraMergeExecutor(MergePolicy.OneMerge merge) {
return intraMergeExecutor;
}
}
+
+ public static boolean hasGraphPresent(int k, int size) {
+ int expectedVisitedNodes = expectedVisitedNodes(k, size);
+ return size > expectedVisitedNodes && expectedVisitedNodes > 0;
+ }
Review Comment:
In that case we will be testing not with this optimization disabled but in
general it would be on by default. Maybe we can add a separate test case to
test this and leave others to be disabled on the codec as you mentioned? I'll
make those changes.
--
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]