zhangstar333 commented on code in PR #68028:
URL: https://github.com/apache/doris/pull/68028#discussion_r4023529592


##########
fe/fe-core/src/main/java/org/apache/doris/datasource/lance/LanceVectorQuery.java:
##########
@@ -38,6 +38,10 @@
 
 /** Validates and encodes one Lance vector-search query against its Arrow 
vector column. */
 public final class LanceVectorQuery {
+    // Keep aligned with the BE and Lance-C limits: each subvector expands 
into an ANN branch.
+    public static final int MAX_QUERY_VECTORS = 128;
+    public static final long MAX_QUERY_VECTOR_CANDIDATES = 100_000;

Review Comment:
   To limit this in Doris? maybe no 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]

Reply via email to