milvus/internal/parser/planparserv2
Ted Xu b9c037f558
feat: adding cache to expression parse (#36185)
See #36122

This PR improves the proxy node performance by adding cache to
expression parse.

---------

Signed-off-by: Ted Xu <ted.xu@zilliz.com>
2024-09-13 10:03:09 +08:00
..
generated feat: support keyword text match (#35923) 2024-09-10 15:11:08 +08:00
check_identical_test.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
check_identical.go Add float16 vector (#25852) 2023-09-08 10:03:16 +08:00
error_listener.go fix: memory leak while parsing query plan (#34931) 2024-07-28 21:50:20 +08:00
floating_comparision_test.go
floating_comparision.go
generate.go Auto generate parser code (#26716) 2023-08-31 11:13:01 +08:00
generate.sh Auto generate parser code (#26716) 2023-08-31 11:13:01 +08:00
logical_expr_visitor.go
node_ret.go Fix expression incompatible between parser and executor (#26493) 2023-08-21 19:36:20 +08:00
operators.go Use go-api/v2 for milvus-proto (#24770) 2023-06-09 01:28:37 +08:00
parser_visitor.go feat: support keyword text match (#35923) 2024-09-10 15:11:08 +08:00
pattern_match_test.go fix: underscore matching not work (#30826) 2024-02-29 10:41:00 +08:00
pattern_match.go fix: underscore matching not work (#30826) 2024-02-29 10:41:00 +08:00
plan_parser_v2_test.go feat: adding cache to expression parse (#36185) 2024-09-13 10:03:09 +08:00
plan_parser_v2.go feat: adding cache to expression parse (#36185) 2024-09-13 10:03:09 +08:00
Plan.g4 feat: support keyword text match (#35923) 2024-09-10 15:11:08 +08:00
pool_test.go fix: memory leak while parsing query plan (#34931) 2024-07-28 21:50:20 +08:00
pool.go fix: memory leak while parsing query plan (#34931) 2024-07-28 21:50:20 +08:00
README.md Auto generate parser code (#26716) 2023-08-31 11:13:01 +08:00
show_visitor.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
utils_test.go fix: Fix bug for parsing expression that include quotes (#28416) 2023-11-23 17:18:32 +08:00
utils.go enhance: Support more relational operators for binary expressions (#30902) 2024-03-01 16:57:00 +08:00

Generate Parser with Antlr4

Install Antlr4

Please follow install antlr4 to install the antlr tool.

The version of antlr tool: 4.9.

Code Generate

After you install the antlr4, you can generate the parser code in golang with:

go generate

All generated code will be under directory generated.