Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix some typos #1515

Merged
merged 1 commit into from
Mar 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs-2.0/3.ngql-guide/5.operators/2.boolean.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ Nebula Graph 支持的布尔符如下。

对于带有`NULL`的逻辑运算,请参见 [NULL](../3.data-types/5.null.md)。

## 历史兼容问题
!!! note

非 0 数字不能转换为布尔值。
非 0 数字不能转换为布尔值。
6 changes: 3 additions & 3 deletions docs-2.0/3.ngql-guide/7.general-query-statements/2.match.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ MATCH <pattern> [<clause_1>] RETURN <output> [<clause_2>];

除以下三种情况之外,请确保 `MATCH` 语句有**至少**一个[索引](../14.native-index-statements/1.create-native-index.md)可用。

- A: `MATCH`语句中`WHERE`子句使用 id() 函数指定了点的 VID,不需要创建索引即可执行。
- `MATCH`语句中`WHERE`子句使用 id() 函数指定了点的 VID,不需要创建索引即可执行。

- B1: 当遍历所有点边时,例如`MATCH (v) RETURN v LIMIT N`,不需要创建索引,但必须使用`LIMIT`限制输出结果数量。
- 当遍历所有点边时,例如`MATCH (v) RETURN v LIMIT N`,不需要创建索引,但必须使用`LIMIT`限制输出结果数量。

- B2: 当遍历指定 Tag 的点或指定 Edge Type 的边时,例如`MATCH (v:player) RETURN v LIMIT N`,不需要创建索引,但必须使用`LIMIT`限制输出结果数量。
- 当遍历指定 Tag 的点或指定 Edge Type 的边时,例如`MATCH (v:player) RETURN v LIMIT N`,不需要创建索引,但必须使用`LIMIT`限制输出结果数量。

此外`MATCH`语句中的`WHERE`子句内**不支持**图模式。

Expand Down
1 change: 1 addition & 0 deletions docs-2.0/8.service-tuning/3.system-design.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ Nebula Graph {{ nebula.release }} 支持水平扩展:

垂直扩展通常硬件成本更高,但运维操作相对简单。<!-- Nebula Graph {{ nebula.release }} 也可以垂直扩展。
-->

## 数据传输与优化

- 读写平衡。Nebula Graph 适合读写平衡性的在线场景,也即 OLTP 型的的“并发的发生写入与读取”;而非数仓 OLAP 型的“一次写入多次读取”。
Expand Down