lxy-9602 commented on code in PR #372:
URL: https://github.com/apache/paimon-cpp/pull/372#discussion_r4226151246


##########
include/paimon/read_context.h:
##########
@@ -320,6 +339,18 @@ class PAIMON_EXPORT ReadContextBuilder {
     /// @return Reference to this builder for method chaining.
     ReadContextBuilder& SetPredicate(const std::shared_ptr<Predicate>& 
predicate);
 
+    /// Configure file-local vector search. The limit is applied independently 
to every data file.
+    /// Vector search and full-text search are mutually exclusive.
+    /// @param vector_search Vector search request, or nullptr to clear it.
+    /// @return Reference to this builder for method chaining.
+    ReadContextBuilder& SetVectorSearch(const std::shared_ptr<VectorSearch>& 
vector_search);
+

Review Comment:
   Although this is currently file-local, please add a TODO to track promoting 
it to read-level granularity in the future.



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

Reply via email to