[skip ci] Refine vistor.md (#9176)

Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
pull/9185/head
Xiaofan 2021-10-04 08:26:32 +08:00 committed by GitHub
parent 2b58a1d64f
commit 0ab1f597ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -1,10 +1,10 @@
# Visitor Pattern
Visitor Pattern is used in segcore for parse and execute Execution Plan.
1. Inside `${core}/src/query/PlanNode.h` , contains physical plan for vector
1. Inside `${core}/src/query/PlanNode.h`, contains physical plan for vector search
1. `FloatVectorANNS` FloatVector search execution node
2. `BinaryVectorANNS` BinaryVector search execution node
2. `${core}/src/query/Expr.h` contains physical plan for expression
2. `${core}/src/query/Expr.h` contains physical plan for scalar expression
1. `TermExpr` support operation like `col in [1, 2, 3]`
2. `RangeExpr` support constant compare with data column like `a >= 5` `1 < b < 2`
3. `CompareExpr` support compare with different columns, like `a < b`