maedhroz commented on code in PR #4353:
URL: https://github.com/apache/cassandra/pull/4353#discussion_r2674051694


##########
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:
   Worth throwing in `CassandraRelevantProperties`?
   
   Something like 
`SAI_FORCE_BRUTE_FORCE_ANN("cassandra.sai.force_brute_force_ann", "false")`



-- 
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