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

Update book from 2.6.0 #1157

Merged
merged 187 commits into from
Nov 3, 2021
Merged
Changes from 17 commits
Commits
Show all changes
187 commits
Select commit Hold shift + click to select a range
a48ce94
Updated studio docs
randomJoe211 May 14, 2021
01e4284
Create st-ug-limitations.md
randomJoe211 May 14, 2021
bfdb9ff
Delete st-ug-limitations.md
randomJoe211 May 14, 2021
f855b27
Revert "Delete st-ug-limitations.md"
randomJoe211 May 14, 2021
03a8d26
Delete docs-2.0/nebula-docs directory
randomJoe211 May 17, 2021
04bee24
keep consistency
randomJoe211 May 17, 2021
5954458
Updated studio docs
randomJoe211 May 14, 2021
e9d8153
Create st-ug-limitations.md
randomJoe211 May 14, 2021
d4530ba
Delete st-ug-limitations.md
randomJoe211 May 14, 2021
48ab6b6
Revert "Delete st-ug-limitations.md"
randomJoe211 May 14, 2021
66941d4
Delete docs-2.0/nebula-docs directory
randomJoe211 May 17, 2021
9286aa4
keep consistency
randomJoe211 May 17, 2021
6fb5ecc
Updated studio docs
randomJoe211 May 14, 2021
cbee085
Create st-ug-limitations.md
randomJoe211 May 14, 2021
5a4a026
Delete st-ug-limitations.md
randomJoe211 May 14, 2021
c147be1
Revert "Delete st-ug-limitations.md"
randomJoe211 May 14, 2021
83cbeb9
Delete docs-2.0/nebula-docs directory
randomJoe211 May 17, 2021
df91984
keep consistency
randomJoe211 May 17, 2021
a3db441
Merge branch 'vesoft-inc:master' into master
randomJoe211 May 31, 2021
c72bd3c
Merge branch 'vesoft-inc:master' into master
randomJoe211 Jun 2, 2021
7859fb6
Merge branch 'vesoft-inc:master' into master
randomJoe211 Jun 2, 2021
649ae82
Merge branch 'vesoft-inc:master' into master
randomJoe211 Jun 3, 2021
be2e882
Merge branch 'vesoft-inc:master' into master
randomJoe211 Jun 4, 2021
55906d3
Merge branch 'vesoft-inc:master' into master
randomJoe211 Jun 9, 2021
32982c7
Merge branch 'vesoft-inc:master' into master
randomJoe211 Jun 15, 2021
d58a30d
Merge branch 'vesoft-inc:master' into master
randomJoe211 Jun 21, 2021
a1d22f8
Merge branch 'vesoft-inc:master' into master
randomJoe211 Jun 23, 2021
31b686a
Merge branch 'vesoft-inc:master' into master
randomJoe211 Jun 23, 2021
b813a7c
Merge branch 'vesoft-inc:master' into master
randomJoe211 Jun 24, 2021
b6dc134
Merge branch 'vesoft-inc:master' into master
randomJoe211 Jun 24, 2021
64cabe3
Merge branch 'vesoft-inc:master' into master
randomJoe211 Jun 25, 2021
a9e8293
Merge branch 'vesoft-inc:master' into master
randomJoe211 Jul 2, 2021
7fbc278
Merge branch 'vesoft-inc:master' into master
randomJoe211 Jul 9, 2021
32187a7
Merge branch 'vesoft-inc:master' into master
randomJoe211 Jul 16, 2021
7db0590
Merge branch 'vesoft-inc:master' into master
randomJoe211 Jul 16, 2021
64ea344
Merge branch 'vesoft-inc:master' into master
randomJoe211 Jul 21, 2021
1a44200
Merge branch 'vesoft-inc:master' into master
randomJoe211 Jul 21, 2021
ee01f88
Merge branch 'vesoft-inc:master' into master
randomJoe211 Jul 23, 2021
f122f44
Merge branch 'vesoft-inc:master' into master
randomJoe211 Jul 26, 2021
b6d38cc
Merge branch 'vesoft-inc:master' into master
randomJoe211 Jul 27, 2021
6a99d39
Merge branch 'vesoft-inc:master' into master
randomJoe211 Aug 3, 2021
29757d2
Update mkdocs.yml
randomJoe211 Aug 3, 2021
34f5073
Update mkdocs.yml
randomJoe211 Aug 4, 2021
d0c0bd7
Merge pull request #1 from vesoft-inc/master
randomJoe211 Aug 4, 2021
c442c6f
Merge branch 'vesoft-inc:master' into master
randomJoe211 Aug 11, 2021
6ad100b
Merge branch 'vesoft-inc:master' into master
randomJoe211 Aug 13, 2021
4543c45
Merge branch 'vesoft-inc:master' into master
randomJoe211 Aug 18, 2021
c991fa6
Merge branch 'vesoft-inc:master' into master
randomJoe211 Aug 18, 2021
0a7ec05
Merge branch 'vesoft-inc:master' into master
randomJoe211 Aug 19, 2021
1ad3c6d
Merge branch 'vesoft-inc:master' into master
randomJoe211 Aug 20, 2021
396f908
Merge branch 'vesoft-inc:master' into master
randomJoe211 Aug 24, 2021
e5d6e5f
Merge branch 'vesoft-inc:master' into master
randomJoe211 Aug 30, 2021
fe26569
Merge branch 'vesoft-inc:master' into master
randomJoe211 Sep 16, 2021
c24f22c
Update 5.lookup.md (#1002)
lopn Sep 26, 2021
a837fc7
Update 3.role-list.md (#1005)
cooper-lzy Sep 26, 2021
488b6bf
Update source_install-nebula-graph-by-rpm-or-deb.md (#1008)
foesa-yang Sep 26, 2021
dab75a4
Merge branch 'vesoft-inc:master' into master
randomJoe211 Sep 26, 2021
454e14e
Update 2.deploy-nebula-operator.md (#1015)
abby-cyber Sep 27, 2021
289321e
Update mkdocs.yml (#1016)
cooper-lzy Sep 27, 2021
ee84903
Support excluding files (#1017)
randomJoe211 Sep 27, 2021
4b4b449
Update 2.deploy-dashboard.md (#1014)
foesa-yang Sep 27, 2021
16db60b
Update 4.ldap.md (#1011)
cooper-lzy Sep 27, 2021
f623f42
Enable prefix bloom filter by default (#1012)
cooper-lzy Sep 27, 2021
9df1a04
show jobs only show space related (#1013)
cooper-lzy Sep 27, 2021
0deb35b
Update 3.2create-cluster-with-helm.md (#1021)
abby-cyber Sep 28, 2021
1db4753
Update 4.schema.md (#1019)
randomJoe211 Sep 28, 2021
19b9e28
Update nebula-algorithm.md (#1022)
cooper-lzy Sep 29, 2021
8c50b37
Update 4.connect-to-nebula-graph-service.md (#1023)
abby-cyber Sep 29, 2021
c6fabca
Update 5.operator-failover.md (#1025)
abby-cyber Sep 29, 2021
b990b87
update utils (#1029)
cooper-lzy Sep 29, 2021
dc3e360
Update ex-ug-FAQ.md (#1033)
foesa-yang Oct 8, 2021
8e5e453
add toss (#1035)
cooper-lzy Oct 11, 2021
816900d
Update ex-ug-import-from-neo4j.md (#1034)
cooper-lzy Oct 11, 2021
95fbb2c
add ssl (#1039)
cooper-lzy Oct 11, 2021
6463662
delete enterpriseonly (#1046)
cooper-lzy Oct 12, 2021
3f62909
lookup support use IN (#1050)
cooper-lzy Oct 12, 2021
7cfd9ce
Update 4.date-and-time.md (#1037)
foesa-yang Oct 12, 2021
bf4f2e1
Update 4.date-and-time.md (#1038)
foesa-yang Oct 12, 2021
49bbd71
Update 3.go.md (#1048)
foesa-yang Oct 12, 2021
4e4be7f
add max_allowed_query_size in graph config (#1036)
foesa-yang Oct 12, 2021
f248722
Update mkdocs.yml (#1040)
cooper-lzy Oct 13, 2021
3cb7db7
create space as (#1045)
cooper-lzy Oct 13, 2021
8c50d6a
Fix bad punctuations (#1049)
greyli Oct 13, 2021
6538960
Fix the incorrect description for UPSERT example (#1051)
greyli Oct 13, 2021
b9a1bc1
Update how-to-contribute.md (#1052)
abby-cyber Oct 13, 2021
0ea08c8
Update 4.ssl.md (#1044)
cooper-lzy Oct 14, 2021
04d7be6
Update nebula-algorithm.md (#1043)
cooper-lzy Oct 15, 2021
8586081
Update 4.ssl.md (#1041)
cooper-lzy Oct 15, 2021
86446ee
Modify some descriptions (#1054)
zhaohaifei Oct 15, 2021
199015e
fetch format (#1060)
cooper-lzy Oct 15, 2021
4d137b6
lookup format (#1061)
cooper-lzy Oct 15, 2021
ed518fe
Update ex-ug-import-from-sst.md (#1055)
cooper-lzy Oct 15, 2021
26a24b2
Improve the format of contributing guide (#1056)
greyli Oct 15, 2021
96f7566
get subgraph format (#1058)
cooper-lzy Oct 15, 2021
99743f7
Update 4.fetch.md (#1063)
izhuxiaoqing Oct 15, 2021
586c178
Update explorer (#1059)
foesa-yang Oct 15, 2021
6e70a2d
Update ex-ug-page-overview.md (#1065)
foesa-yang Oct 15, 2021
de2f46a
add a memory configuration param (#1062)
abby-cyber Oct 15, 2021
ccf39a8
add go format (#1064)
cooper-lzy Oct 18, 2021
1e8dbf5
Update 3.go.md (#1067)
cooper-lzy Oct 18, 2021
446e563
update eco tools (#1057)
foesa-yang Oct 18, 2021
d000a69
Merge branch 'vesoft-inc:master' into master
randomJoe211 Oct 19, 2021
f4e0aae
Add rate limit parameters (#1071)
randomJoe211 Oct 19, 2021
9d81e03
Merge branch 'vesoft-inc:master' into master
randomJoe211 Oct 19, 2021
9d1fb02
modify suffix (#1068)
izhuxiaoqing Oct 22, 2021
8828b87
Update ex-ug-import-from-sst.md (#1074)
izhuxiaoqing Oct 22, 2021
32e9f6d
Update 6.delete-tag.md (#1075)
xiajingchun Oct 22, 2021
444d0ab
update explorer picture (#1078)
foesa-yang Oct 22, 2021
b0b93ed
yield for full doc (#1070)
cooper-lzy Oct 22, 2021
745c9e6
Update 2.meta-config.md (#1066)
abby-cyber Oct 22, 2021
736f132
Update ex-ug-import-from-sst.md (#1073)
cooper-lzy Oct 22, 2021
0648788
lack of "[" (#1079)
abby-cyber Oct 22, 2021
3fbc367
Update ttl-options.md (#1080)
abby-cyber Oct 22, 2021
e0a53eb
add zone doc (#1053)
cooper-lzy Oct 22, 2021
8d02242
add geo (#1081)
cooper-lzy Oct 22, 2021
d9662d6
Merge branch 'vesoft-inc:master' into master
randomJoe211 Oct 22, 2021
51b06f1
Update 1.search-with-text-based-index.md (#1083)
abby-cyber Oct 22, 2021
5413618
Update limit syntax (#1082)
randomJoe211 Oct 22, 2021
d777fb1
Add sample doc (#1084)
randomJoe211 Oct 25, 2021
1e962e2
Update 0.FAQ.md (#1087)
cooper-lzy Oct 25, 2021
c6222b9
Merge branch 'vesoft-inc:master' into master
randomJoe211 Oct 25, 2021
c380ad9
Update 1.text-based-index-restrictions.md (#1089)
abby-cyber Oct 26, 2021
b0df1d6
Merge branch 'vesoft-inc:master' into master
randomJoe211 Oct 26, 2021
d41788d
Update 5.lookup.md (#1086)
randomJoe211 Oct 26, 2021
445db4f
add 2.6 release note (#1088)
cooper-lzy Oct 26, 2021
cb109b1
Update 2.rocksdb-statistics.md (#1091)
cooper-lzy Oct 26, 2021
2de6722
upgrade nebula (#1093)
cooper-lzy Oct 26, 2021
a8ee231
Update load-balance.md (#1092)
cooper-lzy Oct 26, 2021
7dd6924
Update source_manage-service.md (#1094)
abby-cyber Oct 26, 2021
a023ffd
Update 5.null.md (#1097)
randomJoe211 Oct 26, 2021
5c06dea
Update releasenote.md (#1099)
izhuxiaoqing Oct 26, 2021
bc136ff
Update 4.date-and-time.md (#1095)
randomJoe211 Oct 26, 2021
bd2ba75
add geo directory (#1096)
cooper-lzy Oct 26, 2021
5d37de2
Update 4.nebula-graph-crud.md (#1098)
abby-cyber Oct 26, 2021
aff3c49
remove studio&dashboard&explorer (#1100)
foesa-yang Oct 26, 2021
c2471b6
No line to separate result rows (#1105)
randomJoe211 Oct 27, 2021
84dc9b1
change eco-tools (#1106)
cooper-lzy Oct 27, 2021
318a2d1
Use new console table format in example (#1102)
yixinglu Oct 27, 2021
0a7c433
Update 8.map.md (#1103)
randomJoe211 Oct 27, 2021
c4b1c24
Merge branch 'vesoft-inc:master' into master
randomJoe211 Oct 27, 2021
de31fd6
Update 9.type-conversion.md (#1104)
randomJoe211 Oct 27, 2021
7a493ac
Update 1.resource-preparations.md (#1110)
abby-cyber Oct 27, 2021
337166e
Update 2.deploy-es.md (#1111)
cooper-lzy Oct 27, 2021
9919be1
Update 4.schema.md (#1108)
cooper-lzy Oct 27, 2021
aca9405
updated-connect-to-nebula-graph (#1107)
abby-cyber Oct 27, 2021
12c676f
Update 6.eco-tool-version.md (#1101)
Sophie-Xie Oct 27, 2021
57d1f05
Update 3.property-reference.md (#1109)
randomJoe211 Oct 27, 2021
2a53a2a
Merge branch 'vesoft-inc:master' into master
randomJoe211 Oct 27, 2021
d441456
change example (#1115)
cooper-lzy Oct 28, 2021
e36430e
Add doc: install with tar (#1116)
randomJoe211 Oct 28, 2021
06138c6
Update 6.set.md (#1114)
randomJoe211 Oct 29, 2021
5ee09ed
Update 4.pipe.md (#1113)
randomJoe211 Nov 1, 2021
6050b54
Update 1.comparison.md (#1112)
randomJoe211 Nov 1, 2021
e847c6d
Update composite property indexes (#1118)
cooper-lzy Nov 1, 2021
e6f9c73
update studio (#1069)
foesa-yang Nov 1, 2021
aefcb11
Update 7.string.md (#1120)
randomJoe211 Nov 1, 2021
15be5f7
Update 8.predicate.md (#1124)
randomJoe211 Nov 1, 2021
9799434
Update 14.geo.md (#1125)
randomJoe211 Nov 1, 2021
7071425
update exchange 2.6.0 (#1119)
cooper-lzy Nov 1, 2021
2fe9744
Create 6. cheatcheet-for-ngql-command.md (#1085)
abby-cyber Nov 1, 2021
a3852b0
Update 1.install-nebula-graph-by-compiling-the-source-code.md (#1117)
abby-cyber Nov 1, 2021
125be8f
Update 5.case-expressions.md (#1121)
randomJoe211 Nov 1, 2021
5b030df
Update 7.count.md (#1122)
randomJoe211 Nov 1, 2021
4e9b28f
Update 12.hash.md (#1123)
randomJoe211 Nov 1, 2021
23a20cc
Update 2.match.md (#1127)
randomJoe211 Nov 1, 2021
42848f7
Update 4.install-nebula-graph-from-tar.md (#1128)
randomJoe211 Nov 1, 2021
68d25d8
verify nGQL (#1129)
cooper-lzy Nov 1, 2021
b13f4df
update (#1133)
foesa-yang Nov 1, 2021
2d65e61
Update 14.show-stats.md (#1138)
randomJoe211 Nov 1, 2021
2501b75
Update 7.show-index-status.md (#1137)
randomJoe211 Nov 1, 2021
bf43c24
Update 6.show-hosts.md (#1136)
randomJoe211 Nov 1, 2021
08ec670
Update 5.show-create-tags-edges.md (#1135)
randomJoe211 Nov 1, 2021
d1f642d
Update 4.show-create-space.md (#1134)
randomJoe211 Nov 1, 2021
ea8f02f
Update 3.go.md (#1132)
randomJoe211 Nov 1, 2021
03fb36f
Update 3.deploy-nebula-graph-with-docker-compose.md (#1126)
abby-cyber Nov 1, 2021
4f74430
Update 5.lookup.md (#1130)
randomJoe211 Nov 1, 2021
0f88790
Update 0.FAQ.md (#1141)
randomJoe211 Nov 1, 2021
2f5fb89
Update 15.show-tags-edges.md (#1139)
randomJoe211 Nov 1, 2021
076090d
Update 17.show-sessions.md (#1140)
randomJoe211 Nov 1, 2021
999d16a
updates (#1131)
abby-cyber Nov 2, 2021
8875daa
Update source_install-nebula-graph-by-rpm-or-deb.md (#1142)
abby-cyber Nov 2, 2021
27cf3b8
Add an example for random LIMIT seed (#1143)
randomJoe211 Nov 2, 2021
3fc61ee
modify-doc-name (#1144)
abby-cyber Nov 2, 2021
30f6fa8
Update upgrade-nebula-graph-to-260.md (#1147)
abby-cyber Nov 2, 2021
b7fa7d8
Merge branch 'vesoft-inc:master' into master
randomJoe211 Nov 2, 2021
1e9634c
Merge branch 'master' into update-book-from-2.6.0
randomJoe211 Nov 3, 2021
16a4c57
Update mkdocs.yml
randomJoe211 Nov 3, 2021
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
34 changes: 11 additions & 23 deletions docs-2.0/2.quick-start/4.nebula-graph-crud.md
Original file line number Diff line number Diff line change
@@ -37,11 +37,8 @@ nebula> SHOW HOSTS;
| Host | Port | Status | Leader count | Leader distribution | Partition distribution |
+-------------+-----------+-----------+--------------+----------------------+------------------------+
| "storaged0" | 9779 | "ONLINE" | 0 | "No valid partition" | "No valid partition" |
+-------------+-----------+-----------+--------------+----------------------+------------------------+
| "storaged1" | 9779 | "ONLINE" | 0 | "No valid partition" | "No valid partition" |
+-------------+-----------+-----------+--------------+----------------------+------------------------+
| "storaged2" | 9779 | "ONLINE" | 0 | "No valid partition" | "No valid partition" |
+-------------+-----------+-----------+--------------+----------------------+------------------------+
| "Total" | __EMPTY__ | __EMPTY__ | 0 | __EMPTY__ | __EMPTY__ |
+-------------+-----------+-----------+--------------+----------------------+------------------------+
Got 4 rows (time spent 1061/2251 us)
@@ -51,7 +48,7 @@ Got 4 rows (time spent 1061/2251 us)

### 异步实现创建和修改

!!! caution
!!! caution

Nebula Graph中执行如下创建和修改操作,是异步实现的。要在**下一个**心跳周期之后才能生效;否则访问会报错。

@@ -81,7 +78,7 @@ Got 4 rows (time spent 1061/2251 us)

```ngql
CREATE SPACE [IF NOT EXISTS] <graph_space_name> (
[partition_num = <partition_number>,]
[partition_num = <partition_number>,]
[replica_factor = <replica_number>,]
vid_type = {FIXED_STRING(<N>) | INT64}
)
@@ -124,11 +121,8 @@ Got 4 rows (time spent 1061/2251 us)
| Host | Port | Status | Leader count | Leader distribution | Partition distribution |
+-------------+-----------+-----------+--------------+----------------------------------+------------------------+
| "storaged0" | 9779 | "ONLINE" | 5 | "basketballplayer:5" | "basketballplayer:5" |
+-------------+-----------+-----------+--------------+----------------------------------+------------------------+
| "storaged1" | 9779 | "ONLINE" | 5 | "basketballplayer:5" | "basketballplayer:5" |
+-------------+-----------+-----------+--------------+----------------------------------+------------------------+
| "storaged2" | 9779 | "ONLINE" | 5 | "basketballplayer:5" | "basketballplayer:5" |
+-------------+-----------+-----------+--------------+----------------------------------+------------------------+
| "Total" | | | 15 | "basketballplayer:15" | "basketballplayer:15" |
+-------------+-----------+-----------+--------------+----------------------------------+------------------------+
Got 4 rows (time spent 1633/2867 us)
@@ -283,9 +277,9 @@ Execution succeeded (time spent 5858/6870 us)
- 查询Tag属性

```ngql
FETCH PROP ON {<tag_name>[, tag_name ...] | *}
<vid> [, vid ...]
[YIELD <return_list> [AS <alias>]];
FETCH PROP ON {<tag_name>[, tag_name ...] | *}
<vid> [, vid ...]
[YIELD <return_list> [AS <alias>]];
```

- 查询边属性
@@ -298,8 +292,8 @@ Execution succeeded (time spent 5858/6870 us)
- `LOOKUP`

```ngql
LOOKUP ON {<vertex_tag> | <edge_type>}
[WHERE <expression> [AND <expression> ...]]
LOOKUP ON {<vertex_tag> | <edge_type>}
[WHERE <expression> [AND <expression> ...]]
[YIELD <return_list> [AS <alias>]];
```

@@ -319,8 +313,7 @@ Execution succeeded (time spent 5858/6870 us)
| follow._dst |
+-------------+
| "player101" |
+-------------+
| "player102" |
| "player125" |
+-------------+
Got 2 rows (time spent 12097/14220 us)
```
@@ -334,7 +327,6 @@ Execution succeeded (time spent 5858/6870 us)
| Teammate | Age |
+-----------------+-----+
| "Tony Parker" | 36 |
+-----------------+-----+
| "Manu Ginobili" | 41 |
+-----------------+-----+
```
@@ -357,13 +349,11 @@ Execution succeeded (time spent 5858/6870 us)
| Team | Player |
+-----------+-----------------+
| "Spurs" | "Tony Parker" |
+-----------+-----------------+
| "Hornets" | "Tony Parker" |
+-----------+-----------------+
| "Spurs" | "Manu Ginobili" |
+-----------+-----------------+
```

|子句/符号|说明|
|:---|:---|
| `$^` |表示边的起点。|
@@ -384,9 +374,7 @@ Execution succeeded (time spent 5858/6870 us)
| Team | Player |
+-----------+-----------------+
| "Spurs" | "Tony Parker" |
+-----------+-----------------+
| "Hornets" | "Tony Parker" |
+-----------+-----------------+
| "Spurs" | "Manu Ginobili" |
+-----------+-----------------+
```
@@ -540,7 +528,7 @@ nebula> FETCH PROP ON player "player100";
- 创建索引

```ngql
CREATE {TAG | EDGE} INDEX [IF NOT EXISTS] <index_name>
CREATE {TAG | EDGE} INDEX [IF NOT EXISTS] <index_name>
ON {<tag_name> | <edge_name>} ([<prop_name_list>]) [COMMENT = '<comment>'];
```

@@ -560,7 +548,7 @@ nebula> REBUILD TAG INDEX player_index_0;
```

!!! Note

为没有指定长度的变量属性创建索引时,需要指定索引长度。在utf-8编码中,一个中文字符占3字节,请根据变量属性长度设置合适的索引长度。例如10个中文字符,索引长度需要为30。详情请参见[创建索引](../3.ngql-guide/14.native-index-statements/1.create-native-index.md#_6)。

### 基于索引的`LOOKUP`和`MATCH`示例
6 changes: 5 additions & 1 deletion docs-2.0/20.appendix/0.FAQ.md
Original file line number Diff line number Diff line change
@@ -23,7 +23,7 @@ Nebula Graph一直在持续开发,功能或操作的行为可能会有变化
!!! compatibility "`X`版本兼容性"

Nebula Graph {{ nebula.release }} 与 历史版本 (包括 Nebula Graph 1.x 和 2.0-RC) 的数据格式、客户端通信协议均**双向不兼容**。
数据格式升级参见[升级 Nebula Graph 历史版本至 v2.0.0](../4.deployment-and-installation/3.upgrade-nebula-graph/upgrade-nebula-graph-to-250.md)。
数据格式升级参见[升级 Nebula Graph 历史版本至 v2.0.0](../4.deployment-and-installation/3.upgrade-nebula-graph/upgrade-nebula-graph-to-260.md)。
客户端与工具均需要[下载对应版本](../20.appendix/6.eco-tool-version.md)。

!!! compatibility "`Y`版本兼容性"
@@ -32,6 +32,10 @@ Nebula Graph一直在持续开发,功能或操作的行为可能会有变化

## 关于执行

### 为什么Nebula Graph 2.6.0的返回结果每行之间没有横线分隔了?

这是Nebula Console 2.6.0版本的变动造成的,不是Nebula Graph内核的变更,不影响返回数据本身的内容。

### 关于悬挂边

悬挂边 (Dangling edge) 是指一条边的起点或者终点在数据库中不存在。
14 changes: 7 additions & 7 deletions docs-2.0/20.appendix/6.eco-tool-version.md
Original file line number Diff line number Diff line change
@@ -76,7 +76,7 @@ Nebula Importer(简称Importer)是一款Nebula Graph的CSV文件导入工具

|Nebula Graph版本|[Importer](https://github.com/vesoft-inc/nebula-importer/tree/{{importer.branch}})版本(commit id)|
|:---|:---|
| {{ nebula.release }} | {{importer.release}}(5c7417d) |
| {{ nebula.release }} | {{importer.release}}(43234f3) |

## Nebula Spark Connector

@@ -108,15 +108,15 @@ Nebula Console是Nebula Graph的原生CLI客户端。如何使用请参见[连

|Nebula Graph版本|Console版本(commit id)|
|:---|:---|
| {{ nebula.release }} | {{console.release}}(3ce5151) |
| {{ nebula.release }} | {{console.release}}(0834198 ) |

## Nebula Docker Compose

Docker Compose可以快速部署Nebula Graph集群。如何使用请参见[Docker Compose部署Nebula Graph](../4.deployment-and-installation/2.compile-and-install-nebula-graph/3.deploy-nebula-graph-with-docker-compose.md)。

|Nebula Graph版本|Docker Compose版本(commit id)|
|:---|:---|
| {{ nebula.release }} | {{dockercompose.release}}(d42231f) |
| {{ nebula.release }} | {{dockercompose.release}}(a6e9d78) |

<!--
## Backup & Restore
@@ -144,10 +144,10 @@ Docker Compose可以快速部署Nebula Graph集群。如何使用请参见[Docke

|Nebula Graph版本| 语言(commit id) |
|:---| :--- |
| {{ nebula.release }}| [C++](https://github.com/vesoft-inc/nebula-cpp)(00e2625) |
| {{ nebula.release }}| [Go](https://github.com/vesoft-inc/nebula-go/tree/{{go.branch}})(8a1495a) |
| {{ nebula.release }}| [Python](https://github.com/vesoft-inc/nebula-python)(98e08e4) |
| {{ nebula.release }}| [Java Client](https://github.com/vesoft-inc/nebula-java/tree/{{java.branch}})(0fbc3c6) |
| {{ nebula.release }}| [C++](https://github.com/vesoft-inc/nebula-cpp/tree/{{cpp.branch}})(00e2625) |
| {{ nebula.release }}| [Go](https://github.com/vesoft-inc/nebula-go/tree/{{go.branch}})(02eb246) |
| {{ nebula.release }}| [Python](https://github.com/vesoft-inc/nebula-python/tree/{{python.branch}})(6e467a9) |
| {{ nebula.release }}| [Java](https://github.com/vesoft-inc/nebula-java/tree/{{java.branch}})(8e171e4) |

## 未发布

53 changes: 49 additions & 4 deletions docs-2.0/20.appendix/releasenote.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,57 @@
# Nebula Graph {{ nebula.release }} release notes

## Bug fix
## Feature

- 新增TOSS功能。[#2525](https://github.com/vesoft-inc/nebula/pull/2525)
- 新增Group&Zone功能。[#181](https://github.com/vesoft-inc/nebula-storage/pull/181)
- 新增Geo Spatial功能。[#2954](https://github.com/vesoft-inc/nebula/pull/2954)、[#2979](https://github.com/vesoft-inc/nebula/pull/2979)、[#3043](https://github.com/vesoft-inc/nebula/pull/3043)
- 新增传输加密功能。[#2584](https://github.com/vesoft-inc/nebula/pull/2584)
- 新增服务端返回JSON格式的查询结果。[#2824](https://github.com/vesoft-inc/nebula/pull/2824)
- 新增图空间的meta克隆。[#2763](https://github.com/vesoft-inc/nebula/pull/2763)
- 新增LOOKUP中使用IN表达式。[#2906](https://github.com/vesoft-inc/nebula/pull/2906)
- 集成Breakpad。[#2536](https://github.com/vesoft-inc/nebula/pull/2536)
- 新增将metad的本地文件夹复制到远程。 [#2532](https://github.com/vesoft-inc/nebula/pull/2532)
- 新增DELETE TAG。[#2520](https://github.com/vesoft-inc/nebula/pull/2520)
- 新增concat函数。 [#2540](https://github.com/vesoft-inc/nebula/pull/2540)
- 新增SHOW META LEADER。[#2542](https://github.com/vesoft-inc/nebula/pull/2542)

- 修复使用`USE SPACE`时,Session会在下一个上传周期更新导致性能下降的问题。[#1355](https://github.com/vesoft-inc/nebula-graph/pull/1355)
## Enhancement

- 优化处理连接请求中远端地址的解析逻辑,提高K8S环境性能。[#615](https://github.com/vesoft-inc/nebula-common/pull/615)
- 优化indexscan的Limit下推计算。[#2905](https://github.com/vesoft-inc/nebula/pull/2905)、[#2823](https://github.com/vesoft-inc/nebula/pull/2823)、[#2796](https://github.com/vesoft-inc/nebula/pull/2796)
- 优化GO语句每步采样和Limit下推计算。[#2904](https://github.com/vesoft-inc/nebula/pull/2904)、[#2853](https://github.com/vesoft-inc/nebula/pull/2853)、[#2831](https://github.com/vesoft-inc/nebula/pull/2831)
- 优化YIELD语句的格式。[#2555](https://github.com/vesoft-inc/nebula/pull/2555)、[#2572](https://github.com/vesoft-inc/nebula/pull/2572)、[#2779](https://github.com/vesoft-inc/nebula/pull/2779)、[#2895](https://github.com/vesoft-inc/nebula/pull/2895)、[#2944](https://github.com/vesoft-inc/nebula/pull/2944)
- 默认开启prefix bloom filter以提升性能。[#2860](https://github.com/vesoft-inc/nebula/pull/2860)
- 支持服务端验证客户端版本,可配套使用的客户端版本才允许连接(客户端版本从2.6.0开始)。[#2965](https://github.com/vesoft-inc/nebula/pull/2965)
- 优化流量控制。[#2557](https://github.com/vesoft-inc/nebula/pull/2557)
- SHOW JOBS只显示本SPACE的JOB。[#2872](https://github.com/vesoft-inc/nebula/pull/2872)
- 为除GUEST之外的所有角色授予作业权限。[#2928](https://github.com/vesoft-inc/nebula/pull/2928)
- 优化内存水位检测。[#2885](https://github.com/vesoft-inc/nebula/pull/2885)
- 支持Storage的慢查询终止。[#2534](https://github.com/vesoft-inc/nebula/pull/2534)

## Bug fix

# 历史版本
- 修复`raftpart::reset`时清理部分RocksDB数据的问题。[#2522](https://github.com/vesoft-inc/nebula/pull/2522)
- 修复了插入不匹配的日期时间类型的问题。[#2527](https://github.com/vesoft-inc/nebula/pull/2527)
- 修复了设置毫秒失败但微秒有效的问题。[#2781](https://github.com/vesoft-inc/nebula/pull/2781)
- 修复了批量插入过多数据(百万行)时Meta服务崩溃的问题。[#2813](https://github.com/vesoft-inc/nebula/pull/2813)
- 修复了当图空间中不存在边Schema时获取边信息导致崩溃的问题。[#2571](https://github.com/vesoft-inc/nebula/pull/2571)
- 修复了属性数据类型为 `FIXED_STRING` 时 GO WHERE 子句表达式解析错误。[#2762](https://github.com/vesoft-inc/nebula/pull/2762)
- 修复了FIND ALL PATH查询不到的错误。 [#2773](https://github.com/vesoft-inc/nebula/pull/2773)
- 修复了没有配置角色的用户却有查找SPACE的角色权限问题。[#2778](https://github.com/vesoft-inc/nebula/pull/2778)
- 修复了CASE表达式错误。 [#2819](https://github.com/vesoft-inc/nebula/pull/2819)
- 修复了使用time函数时死循环问题。[#2820](https://github.com/vesoft-inc/nebula/pull/2820)
- 修复了当节点被shutdown后,JOB仍显示为运行中的问题。[#2843](https://github.com/vesoft-inc/nebula/pull/2843)
- 修复了在多个副本的情况下,`Insert`语句可能导致副本之间属性值不一致的问题。 [#2862](https://github.com/vesoft-inc/nebula/pull/2862)
- 修复了USE后提交作业时图空间不对的问题。 [#3010](https://github.com/vesoft-inc/nebula/pull/3010)
- 修复了当列不为空时获取thrift结构属性出错的问题。[#3012](https://github.com/vesoft-inc/nebula/pull/3012)
- 修复了Meta服务未同步,graphd也能运行的问题。 [#3069](https://github.com/vesoft-inc/nebula/pull/3069)
- 修复了使用FIND PATH WITH PROP时,悬挂边会返回空顶点的问题。 [#3008](https://github.com/vesoft-inc/nebula/pull/3008)
- 修复了YIELD DISTINCT map类型时的崩溃问题。 [#3051](https://github.com/vesoft-inc/nebula/pull/3051)
- 修复了设置错误的IP或者HOST时服务仍然可以启动的问题。 [#3057](https://github.com/vesoft-inc/nebula/pull/3057)
- 修复了在一个语句中更改相同属性的错误。[#3036](https://github.com/vesoft-inc/nebula/pull/3036)
- 修复了在边上多步过滤无效的问题。[#3144](https://github.com/vesoft-inc/nebula/pull/3144)

## 历史版本

[历史版本](https://nebula-graph.com.cn/tags/release-note/)

3 changes: 1 addition & 2 deletions docs-2.0/3.ngql-guide/10.tag-statements/4.show-tags.md
Original file line number Diff line number Diff line change
@@ -18,7 +18,6 @@ nebula> SHOW TAGS;
| Name |
+----------+
| "player" |
+----------+
| "team" |
+----------+
```
```
1 change: 0 additions & 1 deletion docs-2.0/3.ngql-guide/10.tag-statements/5.describe-tag.md
Original file line number Diff line number Diff line change
@@ -22,7 +22,6 @@ nebula> DESCRIBE TAG player;
| Field | Type | Null | Default | Comment |
+--------+----------+-------+---------+---------+
| "name" | "string" | "YES" | | |
+--------+----------+-------+---------+---------+
| "age" | "int64" | "YES" | | |
+--------+----------+-------+---------+---------+
```
Original file line number Diff line number Diff line change
@@ -18,7 +18,6 @@ nebula> SHOW EDGES;
| Name |
+----------+
| "follow" |
+----------+
| "serve" |
+----------+
```
```
Original file line number Diff line number Diff line change
@@ -16,11 +16,8 @@ nebula> SHOW TAG INDEXES;
| Index Name | By Tag | Columns |
+------------------+--------------+-----------------+
| "fix" | "fix_string" | ["p1"] |
+------------------+--------------+-----------------+
| "player_index_0" | "player" | ["name"] |
+------------------+--------------+-----------------+
| "player_index_1" | "player" | ["name", "age"] |
+------------------+--------------+-----------------+
| "var" | "var_string" | ["p1"] |
+------------------+--------------+-----------------+

@@ -35,4 +32,4 @@ nebula> SHOW EDGE INDEXES;

!!! Compatibility "历史版本兼容性"

Nebula Graph 2.0.1中, `SHOW TAG/EDGE INDEXES` 语句仅返回 `Names`。
Nebula Graph 2.0.1中, `SHOW TAG/EDGE INDEXES` 语句仅返回 `Names`。
Original file line number Diff line number Diff line change
@@ -23,7 +23,6 @@ nebula> DESCRIBE TAG INDEX player_index_1;
| Field | Type |
+--------+--------------------+
| "name" | "fixed_string(10)" |
+--------+--------------------+
| "age" | "int64" |
+--------+--------------------+
```
```
Original file line number Diff line number Diff line change
@@ -49,11 +49,8 @@ nebula> SHOW JOB 31;
| Job Id(TaskId) | Command(Dest) | Status | Start Time | Stop Time |
+----------------+---------------------+------------+-------------------------+-------------------------+
| 31 | "REBUILD_TAG_INDEX" | "FINISHED" | 2021-07-07T09:04:24.000 | 2021-07-07T09:04:24.000 |
+----------------+---------------------+------------+-------------------------+-------------------------+
| 0 | "storaged1" | "FINISHED" | 2021-07-07T09:04:24.000 | 2021-07-07T09:04:28.000 |
+----------------+---------------------+------------+-------------------------+-------------------------+
| 1 | "storaged2" | "FINISHED" | 2021-07-07T09:04:24.000 | 2021-07-07T09:04:28.000 |
+----------------+---------------------+------------+-------------------------+-------------------------+
| 2 | "storaged0" | "FINISHED" | 2021-07-07T09:04:24.000 | 2021-07-07T09:04:28.000 |
+----------------+---------------------+------------+-------------------------+-------------------------+
```
Original file line number Diff line number Diff line change
@@ -29,7 +29,6 @@ nebula> SHOW TAG INDEX STATUS;
| Name | Index Status |
+----------------------+--------------+
| "player_index_0" | "FINISHED" |
+----------------------+--------------+
| "player_index_1" | "FINISHED" |
+----------------------+--------------+
```
```
Original file line number Diff line number Diff line change
@@ -65,7 +65,7 @@ LOOKUP ON {<tag> | <edge_type>} WHERE <expression> [YIELD <return_list>];
- `fuzziness`:可选项。允许匹配的最大编辑距离。默认值为`AUTO`。查看其他可选值和更多信息,请参见[Elasticsearch官方文档](https://www.elastic.co/guide/en/elasticsearch/reference/6.8/common-options.html#fuzziness)。

- `operator`:可选项。解释文本的布尔逻辑。可选值为`OR`(默认)和`and`。

- `row_limit`:可选项。指定要返回的行数。默认值为`100`。

- `timeout`:可选项。指定超时时间。单位:毫秒(ms)。默认值为`200`。
@@ -128,9 +128,7 @@ nebula> LOOKUP ON player WHERE PREFIX(player.name, "B");
| _vid |
+-----------------+
| "Boris Diaw" |
+-----------------+
| "Ben Simmons" |
+-----------------+
| "Blake Griffin" |
+-----------------+

@@ -139,9 +137,7 @@ nebula> LOOKUP ON player WHERE WILDCARD(player.name, "*ri*") YIELD player.name,
| _vid | name | age |
+-----------------+-----------------+-----+
| "Chris Paul" | "Chris Paul" | 33 |
+-----------------+-----------------+-----+
| "Boris Diaw" | "Boris Diaw" | 36 |
+-----------------+-----------------+-----+
| "Blake Griffin" | "Blake Griffin" | 30 |
+-----------------+-----------------+-----+

@@ -164,9 +160,7 @@ nebula> LOOKUP ON player WHERE REGEXP(player.name, ".*");
| _vid |
+---------------------+
| "Danny Green" |
+---------------------+
| "David West" |
+---------------------+
| "Russell Westbrook" |
+---------------------+
...
Loading