HappenLee commented on code in PR #54276:
URL: https://github.com/apache/doris/pull/54276#discussion_r2287249174


##########
be/src/vec/exprs/vexpr.cpp:
##########
@@ -963,5 +967,34 @@ bool VExpr::equals(const VExpr& other) {
     return false;
 }
 
+Status VExpr::evaluate_ann_range_search(
+        const segment_v2::AnnRangeSearchRuntime& runtime,
+        const std::vector<std::unique_ptr<segment_v2::IndexIterator>>& 
index_iterators,
+        const std::vector<ColumnId>& idx_to_cid,
+        const std::vector<std::unique_ptr<segment_v2::ColumnIterator>>& 
column_iterators,
+        roaring::Roaring& row_bitmap, AnnIndexStats& ann_index_stats) {
+    return Status::OK();
+}
+
+Status VExpr::prepare_ann_range_search(const doris::VectorSearchUserParams& 
params,
+                                       segment_v2::AnnRangeSearchRuntime& 
range_search_runtime,
+                                       bool& suitable_for_ann_index) {
+    if (!suitable_for_ann_index) {

Review Comment:
   which case the first time is 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