From 4d0dae3476005d7b5088c8129cf414c8b78c6ded Mon Sep 17 00:00:00 2001 From: Milvus-doc-bot Date: Fri, 6 Dec 2024 01:56:46 +0000 Subject: [PATCH] Release new docs to master --- .../en/userGuide/search-query-get/boolean.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/v2.5.x/site/en/userGuide/search-query-get/boolean.md b/v2.5.x/site/en/userGuide/search-query-get/boolean.md index 1a2890e44..39b1d5345 100644 --- a/v2.5.x/site/en/userGuide/search-query-get/boolean.md +++ b/v2.5.x/site/en/userGuide/search-query-get/boolean.md @@ -2313,6 +2313,25 @@ The filtered results are as follows:​ The following table lists the precedence of operators. Operators are listed top to bottom, in descending precedence.​ +| Precedence | Operator | +|------------|-------------------------| +| 1 | +, - | +| 2 | not | +| 3 | ** | +| 4 | *, /, % | +| 5 | <, <=, >, >= | +| 6 | ==, != | +| 7 | like | +| 8 | JSON_CONTAINS | +| 9 | ARRAY_CONTAINS | +| 10 | JSON_CONTAINS_ALL | +| 11 | ARRAY_CONTAINS_ALL | +| 12 | JSON_CONTAINS_ANY | +| 13 | ARRAY_CONTAINS_ANY | +| 14 | ARRAY_LENGTH | +| 15 | and (&&) | +| 16 | or (\|\|) | + Expressions are normally evaluated from left to right. Complex expressions are evaluated one at a time. The order in which the expressions are evaluated is determined by the precedence of the operators used.​ If an expression contains two or more operators with the same precedence, the operator to the left is evaluated first. When a lower precedence operation should be processed first, it should be enclosed within parentheses.​