michaeljmarshall commented on code in PR #4353:
URL: https://github.com/apache/cassandra/pull/4353#discussion_r2696327491
##########
src/java/org/apache/cassandra/index/sai/disk/v1/segment/VectorIndexSegmentSearcher.java:
##########
@@ -62,22 +71,27 @@ public class VectorIndexSegmentSearcher extends
IndexSegmentSearcher
{
private static final Logger logger =
LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());
+ // If true, use brute force. If false, use graph search. If null, use the
normal logic.
+ @VisibleForTesting
+ public static Boolean FORCE_BRUTE_FORCE_ANN = null;
Review Comment:
I only added this to force tests to take the different paths. I don't think
we should expose further unless you see a need.
--
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]