Skip to content

Commit

Permalink
Merge 261 to book (#1204)
Browse files Browse the repository at this point in the history
* Update 5.lookup.md (#1002)

update col name

* Update 3.role-list.md (#1005)

* Update source_install-nebula-graph-by-rpm-or-deb.md (#1008)

* Update source_install-nebula-graph-by-rpm-or-deb.md

* Update source_install-nebula-graph-by-rpm-or-deb.md

* Update source_install-nebula-graph-by-rpm-or-deb.md

* Update source_install-nebula-graph-by-rpm-or-deb.md

* Update 2.deploy-nebula-operator.md (#1015)

* Update mkdocs.yml (#1016)

* Support excluding files (#1017)

* Support excluding files

* Update mkdocs.yml

* Update 2.deploy-dashboard.md (#1014)

* Update 2.deploy-dashboard.md

* Update 2.deploy-dashboard.md

Co-authored-by: cooper-lzy <78672629+cooper-lzy@users.noreply.github.com>

* Update 4.ldap.md (#1011)

* Enable prefix bloom filter by default (#1012)

* show jobs only show space related (#1013)

* Update 3.2create-cluster-with-helm.md (#1021)

* Update 4.schema.md (#1019)

* Update nebula-algorithm.md (#1022)

* Update 4.connect-to-nebula-graph-service.md (#1023)

* Update 5.operator-failover.md (#1025)

* update utils (#1029)

* Update ex-ug-FAQ.md (#1033)

* add toss (#1035)

* Update ex-ug-import-from-neo4j.md (#1034)

* add ssl (#1039)

* delete enterpriseonly (#1046)

* lookup support use IN (#1050)

* Update 4.date-and-time.md (#1037)

* Update 4.date-and-time.md

* Update 4.date-and-time.md

* Update 4.date-and-time.md (#1038)

* Update 3.go.md (#1048)

* add max_allowed_query_size in graph config (#1036)

* Update mkdocs.yml (#1040)

* create space as (#1045)

* create space as

* update

* Fix bad punctuations (#1049)

* Fix the incorrect description for UPSERT example (#1051)

* Update how-to-contribute.md (#1052)

* Update 4.ssl.md (#1044)

* Update 4.ssl.md

* Update 4.ssl.md

* Update nebula-algorithm.md (#1043)

* Update 4.ssl.md (#1041)

* Update 4.ssl.md

* Update 4.ssl.md

Co-authored-by: foesa <35463247+foesa-yang@users.noreply.github.com>

* Modify some descriptions (#1054)

* fetch format (#1060)

* fetch format

* update

* update

* update

* lookup format (#1061)

* lookup format

* update

* Update ex-ug-import-from-sst.md (#1055)

* Improve the format of contributing guide (#1056)

- Add some missing periods.
- Add a missing space between Chinese and English.
- Merge redundant issue links.
- Add link for fork.

Update CONTRIBUTING.md

* get subgraph format (#1058)

* get subgraph format

* update

* Update 4.fetch.md (#1063)

* Update explorer (#1059)

* [WIP]Update explorer

* update

* Update ex-ug-canvas.md

* update

* Update ex-ug-canvas.md

* fix

* Update ex-ug-connect.md

* Update ex-ug-connect.md

* Update ex-ug-page-overview.md (#1065)

* add a memory configuration param (#1062)

change the default value to 0.9

* add go format (#1064)

* add go format

* Update 3.go.md

* Update 3.go.md

* Update 3.go.md (#1067)

* update eco tools (#1057)

* update eco tools

* Update nebula-algorithm.md

* Update ex-ug-import-from-neo4j.md

* Update mkdocs.yml

* Update mkdocs.yml

* Add rate limit parameters (#1071)

* modify suffix (#1068)

* Update ex-ug-import-from-sst.md (#1074)

* Update 6.delete-tag.md (#1075)

fix a small typo "LABLE" -> "LABEL"

* update explorer picture (#1078)

* yield for full doc (#1070)

* yield for full doc

* update

* update

* update

* update

* update

* update

* update

* update

* update

* Update 2.meta-config.md (#1066)

double checked with siwang, remove local_config and minimum_reserved_bytes

* Update ex-ug-import-from-sst.md (#1073)

* lack of "[" (#1079)

lack of "[" in <alter_definition> [, alter_definition] ...]

* Update ttl-options.md (#1080)

* add zone doc (#1053)

* add zone doc

* update

* update

* update

* update

* update

* update

Co-authored-by: foesa <35463247+foesa-yang@users.noreply.github.com>

* add geo (#1081)

* add geo

* update

* update

* update

* Update 1.search-with-text-based-index.md (#1083)

command errod for fulltext creation
CREATE TAG INDEX nebula_index_1 ON player(name)-->CREATE FULLTEXT TAG INDEX nebula_index_1 ON player(name)

* Update limit syntax (#1082)

* Update LIMIT

* Update limit.md

* Update limit.md

* Update limit

* Update limit.md

* Add sample doc (#1084)

* Add sample doc

* Update sample.md

* Update sample.md

* Update 0.FAQ.md (#1087)

* Update 1.text-based-index-restrictions.md (#1089)

* Update 5.lookup.md (#1086)

* add 2.6 release note (#1088)

* add 2.6 release note

* update

* Update 2.rocksdb-statistics.md (#1091)

* upgrade nebula (#1093)

* upgrade nebula

* update

* update

* update

* update

* Update load-balance.md (#1092)

* Update source_manage-service.md (#1094)

* Update 5.null.md (#1097)

* Update releasenote.md (#1099)

* Update 4.date-and-time.md (#1095)

* add geo directory (#1096)

* add geo directory

* update

* Update 4.nebula-graph-crud.md (#1098)

* remove studio&dashboard&explorer (#1100)

* No line to separate result rows (#1105)

* change eco-tools (#1106)

console, importer, Docker Compose, Go, Python, Java

* Use new console table format in example (#1102)

* Use new console table format in example

* fix format of match

* Update 8.map.md (#1103)

* Update 9.type-conversion.md (#1104)

* Update 1.resource-preparations.md (#1110)

* Update 2.deploy-es.md (#1111)

* Update 4.schema.md (#1108)

* updated-connect-to-nebula-graph (#1107)

* Update 6.eco-tool-version.md (#1101)

Co-authored-by: cooper-lzy <78672629+cooper-lzy@users.noreply.github.com>

* Update 3.property-reference.md (#1109)

* change example (#1115)

Use the basketballPlayer subset as an example in the CRUD and GET Subgraph documents

* Add doc: install with tar (#1116)

* Update 6.set.md (#1114)

* Update 4.pipe.md (#1113)

* Update 1.comparison.md (#1112)

* Update composite property indexes (#1118)

* Update 1.create-native-index.md

* Update 1.create-native-index.md

* Update 1.create-native-index.md

* update studio (#1069)

* [WIP]update studio

* Update st-ug-deploy.md

* Create st-ug-deploy-by-helm.md

* Update st-ug-deploy-by-helm.md

* Update st-ug-deploy-by-helm.md

* Update st-ug-release-note.md

* Update st-ug-deploy-by-helm.md

* Update mkdocs.yml

* update

* update

* Update 7.string.md (#1120)

* Update 8.predicate.md (#1124)

* Update 14.geo.md (#1125)

* update exchange 2.6.0 (#1119)

* Create 6. cheatcheet-for-ngql-command.md (#1085)

* Create 6. cheatcheet-for-ngql-command.md

* Update 6. cheatcheet-for-ngql-command.md

* Update 6. cheatcheet-for-ngql-command.md

* Update 6. cheatcheet-for-ngql-command.md

* link path&typo

* Update 6. cheatcheet-for-ngql-command.md

* Update 6. cheatcheet-for-ngql-command.md

* Update 6. cheatcheet-for-ngql-command.md

* Update 6. cheatcheet-for-ngql-command.md

* Update 6. cheatcheet-for-ngql-command.md

* Update 6. cheatcheet-for-ngql-command.md

* Update 6. cheatcheet-for-ngql-command.md

* Update 1.install-nebula-graph-by-compiling-the-source-code.md (#1117)

* Update 1.install-nebula-graph-by-compiling-the-source-code.md

* Update 1.install-nebula-graph-by-compiling-the-source-code.md

* Update 1.install-nebula-graph-by-compiling-the-source-code.md

* Update 1.install-nebula-graph-by-compiling-the-source-code.md

* Update 1.install-nebula-graph-by-compiling-the-source-code.md

Co-authored-by: cooper-lzy <78672629+cooper-lzy@users.noreply.github.com>

* Update 5.case-expressions.md (#1121)

* Update 7.count.md (#1122)

* Update 12.hash.md (#1123)

* Update 2.match.md (#1127)

* Update 4.install-nebula-graph-from-tar.md (#1128)

* Update 4.install-nebula-graph-from-tar.md

* Update 4.install-nebula-graph-from-tar.md

* verify nGQL (#1129)

* update (#1133)

* Update 14.show-stats.md (#1138)

* Update 7.show-index-status.md (#1137)

* Update 6.show-hosts.md (#1136)

* Update 5.show-create-tags-edges.md (#1135)

* Update 4.show-create-space.md (#1134)

* Update 3.go.md (#1132)

* Update 3.deploy-nebula-graph-with-docker-compose.md (#1126)

* Update 3.deploy-nebula-graph-with-docker-compose.md

* Update 3.deploy-nebula-graph-with-docker-compose.md

* Update 3.deploy-nebula-graph-with-docker-compose.md

* Update 3.deploy-nebula-graph-with-docker-compose.md

* Update 5.lookup.md (#1130)

* Update 0.FAQ.md (#1141)

* Update 15.show-tags-edges.md (#1139)

* Update 17.show-sessions.md (#1140)

* updates (#1131)

* updates

* Update deploy-nebula-graph-cluster.md

* Update source_install-nebula-graph-by-rpm-or-deb.md (#1142)

* Update source_install-nebula-graph-by-rpm-or-deb.md

* Update source_install-nebula-graph-by-rpm-or-deb.md

* Update source_install-nebula-graph-by-rpm-or-deb.md

* Add an example for random LIMIT seed (#1143)

* modify-doc-name (#1144)

* release 2.6.0 (#1145)

* Update mkdocs.yml

* Update 6.eco-tool-version.md

* update connector (#1146)

* Delete overrides/partials directory

* Update 1.resource-preparations.md

* Update mkdocs.yml

* Update mkdocs.yml

* update nav (#1149)

* Update upgrade-nebula-graph-to-260.md (#1148)

* Update upgrade-nebula-graph-to-260.md

* Update upgrade-nebula-graph-to-260.md

* Update mkdocs.yml

* Update 6.eco-tool-version.md

* fix typo (#1150)

* hidden eco tools (#1151)

* Update ex-ug-import-from-sst.md

* Deploy studio with helm desc changes (#1154)

* Update upgrade-nebula-graph-to-260.md (#1147)

* Update upgrade-nebula-graph-to-260.md

* Update upgrade-nebula-graph-to-260.md

* Update st-ug-deploy-by-helm.md

* Update 6.eco-tool-version.md

* release 2.6.1 (#1155)

* Update ex-ug-limitations.md

* Update st-ug-limitations.md

* Update releasenote.md

* Update releasenote.md

* Update releasenote.md

* Update releasenote.md

* Update 0.FAQ.md

* Update 1.what-is-nebula-graph.md

* Update 3.manage-snapshot.md (#1158) (#1159)

Update 3.manage-snapshot.md (#1156)

Co-authored-by: Romi <romi.chen@vesoft.com>

* Update 3.deploy-nebula-graph-with-docker-compose.md

* Update source_manage-service.md (#1160)

* Update ex-ug-import-from-parquet.md

* Update 1.resource-preparations.md

* add move_files config for ingest

* Update 6.cheatsheet-for-ngql-command.md (#1164)

changed \| to |

* Update README.md

* Update 6.show-hosts.md (#1166)

* Update mkdocs.yml

* Update 6.eco-tool-version.md

* merge explorer (#1167)

* Update mkdocs.yml

* Update ex-ug-deploy.md

* Update ex-ug-deploy.md

* Update ex-ug-deploy.md (#1169)

* Update ex-ug-deploy.md

* Update ex-ug-deploy.md

* display error (#1171)

* Change upgrade  (#1172)

* change upgrade

* update

* [WIP]add license doc (#1177)

* add license doc

* update

* Update docs-2.0/4.deployment-and-installation/2.compile-and-install-nebula-graph/1.install-nebula-graph-by-compiling-the-source-code.md

Co-authored-by: randomJoe211 <69501902+randomJoe211@users.noreply.github.com>

* Update 4.install-nebula-graph-from-tar.md

* Update source_install-nebula-graph-by-rpm-or-deb.md

* Update deploy-license.md

* Update deploy-license.md

* update

* update

Co-authored-by: randomJoe211 <69501902+randomJoe211@users.noreply.github.com>

* Update 1.install-nebula-graph-by-compiling-the-source-code.md

* Update 4.install-nebula-graph-from-tar.md

* Update ex-ug-import-from-sst.md

* Update ex-ug-import-from-sst.md

* Update 0.FAQ.md

* Update 10.collect.md (#1186)

lower case

* Update ex-ug-FAQ.md

* Add exchange ent doc (#1199)

* Add docs for Exchange Enterprise edition

* Update ex-ug-parameter.md

* Update ex-ug-export-from-nebula.md

* No support for generating SST with GEO data (#1201)

* change create sentence in nGQL (#1198)

* Update 3.go.md (#1196)

* Update 3.go.md (#1194)

* Update return.md (#1192)

* Update 5.lookup.md (#1191)

* Update nebula-bench.md

* Update source_install-nebula-graph-by-rpm-or-deb.md

* Merge dashboard (#1202)

* Update 8.predicate.md (#1124)

* add dashboard enterprise (#1077)

* [WIP]add dashboard enterprise

* update

* update

* Update 1.create-cluster.md

* update

* update

* update-1101

* update-1103

* update-1104

* update

* update

* update

* update-1105

* update

* update

* add dashboard to yaml (#1173)

* fix problem (#1174)

* modify dashboard ent (#1175)

* modify dashboard ent

* update-1108

* Update 1.create-cluster.md

* Update 1.what-is-dashboard-en.md

* Update 1.create-cluster.md

* update

* update

* Update mkdocs.yml (#1178)

* change en to ent (#1179)

* Change en to ent (#1180)

* change en to ent

* update

* Delete 2.deploy-connect-dashboard-en.md (#1181)

* Update dashboard ent (#1182)

* Update dashboard ent

* update

* Update 8.faq.md

* update

* Update 2.deploy-connect-dashboard-ent.md

* update-1109

* Update 2.deploy-connect-dashboard-ent.md

* Update Python client installation instruction (#1189)

Mirror update to vesoft-inc/nebula-python#152

* Update ex-ug-import-from-sst.md (#1188)

* Update ex-ug-import-from-sst.md

* Update ex-ug-import-from-sst.md

* Add link for Exchange bench (#1195)

* update dashboard (#1197)

* update

* Update 6.eco-tool-version.md

Co-authored-by: randomJoe211 <69501902+randomJoe211@users.noreply.github.com>
Co-authored-by: foesa <35463247+foesa-yang@users.noreply.github.com>
Co-authored-by: Grey Li <withlihui@gmail.com>

* Update 1.create-cluster.md

* Update 2.deploy-connect-dashboard-ent.md

* Update mkdocs.yml

Co-authored-by: lopn <lopnxrp@126.com>
Co-authored-by: cooper-lzy <78672629+cooper-lzy@users.noreply.github.com>
Co-authored-by: foesa <35463247+foesa-yang@users.noreply.github.com>
Co-authored-by: abby.huang <78209557+abby-cyber@users.noreply.github.com>
Co-authored-by: Grey Li <withlihui@gmail.com>
Co-authored-by: haifei.zhao <32253291+zhaohaifei@users.noreply.github.com>
Co-authored-by: max.zhu@vesoft.com <86282370+izhuxiaoqing@users.noreply.github.com>
Co-authored-by: jingchun.xia <6269380+xiajingchun@users.noreply.github.com>
Co-authored-by: Yee <2520865+yixinglu@users.noreply.github.com>
Co-authored-by: Sophie-Xie <84560950+Sophie-Xie@users.noreply.github.com>
Co-authored-by: min.wu <50101159+whitewum@users.noreply.github.com>
Co-authored-by: Romi <romi.chen@vesoft.com>
Co-authored-by: Anqi <anqi.wang@vesoft.com>
Co-authored-by: Harris.Chu <1726587+HarrisChu@users.noreply.github.com>
Co-authored-by: Even <71239503+even1111112@users.noreply.github.com>
  • Loading branch information
16 people committed Nov 12, 2021
1 parent 673e9ba commit 9e1248c
Show file tree
Hide file tree
Showing 121 changed files with 1,326 additions and 471 deletions.
14 changes: 2 additions & 12 deletions docs-2.0/14.client/5.nebula-python-client.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,20 +45,10 @@ $ pip install nebula2-python==<version>
$ cd nebula-python
```

3. 执行如下命令安装依赖
3. 执行如下命令安装

```bash
$ pip install -r requirements.txt
```

!!! note

如果想在开发模式下进行单元测试,请安装`requirements-dev.txt`的依赖。

4. 执行如下命令安装。

```bash
$ sudo python3 setup.py install
$ pip install .
```

## 核心代码
Expand Down
80 changes: 40 additions & 40 deletions docs-2.0/2.quick-start/6.cheatsheet-for-ngql-command.md

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions docs-2.0/20.appendix/0.FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@ Nebula Graph一直在持续开发,功能或操作的行为可能会有变化
!!! compatibility "`X`版本兼容性"

Nebula Graph {{ nebula.release }} 与 历史版本 (包括 Nebula Graph 1.x 和 2.0-RC) 的数据格式、客户端通信协议均**双向不兼容**。

数据格式升级参见[升级 Nebula Graph 历史版本至 v{{nebula.release}}](../4.deployment-and-installation/3.upgrade-nebula-graph/upgrade-nebula-graph-to-260.md)。

数据格式升级参见[升级 Nebula Graph 历史版本至当前版本](../4.deployment-and-installation/3.upgrade-nebula-graph/upgrade-nebula-graph-to-latest.md)。
客户端与工具均需要[下载对应版本](../20.appendix/6.eco-tool-version.md)。

!!! compatibility "`Y`版本兼容性"
Expand Down Expand Up @@ -147,7 +145,7 @@ Storage 服务使用 Raft 协议(多数表决),为保证可用性,要求
1. 建立并重建索引

```ngql
> CREATE TAG INDEX i_player ON player();
> CREATE TAG INDEX IF NOT EXISTS i_player ON player();
> REBUILD TAG INDEX i_player;
```

Expand Down Expand Up @@ -185,7 +183,7 @@ nGQL 没有该功能。
或者通过一个(属性)索引来得到,例如

```ngql
# CREATE TAG INDEX i_player ON player(name(20));
# CREATE TAG INDEX IF NOT EXISTS i_player ON player(name(20));
# REBUILD TAG INDEX i_player;
> LOOKUP ON player WHERE player.name == "abc" | ... YIELD ...
Expand Down Expand Up @@ -310,6 +308,8 @@ nebula-graphd version 2.5.0, Git: c397299c, Build Time: Aug 19 2021 11:20:18

### 如何扩缩容

用户可以使用 Dashboard(企业版),在可视化页面对 graphd 和 storaged 进行快速扩缩容,详情参见 [集群操作-扩缩容](../nebula-dashboard-ent/4.cluster-operator/4.manage.md)

Nebula Graph {{ nebula.release }} 未提供运维命令以实现自动扩缩容,参考以下步骤:

- metad 的扩容和缩容: metad 不支持扩缩容,也不支持迁移到新机器,也不要增加新的 metad 进程。
Expand Down
32 changes: 23 additions & 9 deletions docs-2.0/20.appendix/6.eco-tool-version.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@

1.x版本的生态工具完全不支持在Nebula Graph 2.x版本中使用。


## Nebula Graph Studio

Nebula Graph Studio(简称 Studio)是一款可以通过Web访问的图数据库可视化工具,搭配Nebula Graph DBMS使用,提供构图、数据导入、编写nGQL查询、图探索等一站式服务。详情请参见[什么是Nebula Graph Studio](../nebula-studio/about-studio/st-ug-what-is-graph-studio.md)
Expand All @@ -36,39 +37,52 @@ Nebula Graph Studio(简称 Studio)是一款可以通过Web访问的图数据

|Nebula Graph版本|Studio版本(commit id)|
|:---|:---|
| {{ nebula.release }} | {{studio.base300}}(9e2a120|
| {{ nebula.release }} | {{studio.release}}(3754219|

## Nebula Dashboard
## Nebula Dashboard(社区版)

Nebula Dashboard(简称Dashboard)是一款用于监控Nebula Graph集群中机器和服务状态的可视化工具。详情参见[什么是Nebula Dashboard](../nebula-dashboard/1.what-is-dashboard.md)

|Nebula Graph版本|Dashboard版本(commit id)|
|:---|:---|
| {{ nebula.release }} | {{dashboard.release}}(49ab1bc) |
-->


## Nebula Dashboard(企业版)

Nebula Dashboard(简称Dashboard)是一款用于监控和管理Nebula Graph多集群中机器和服务状态的可视化工具,支持在可视化界面进行集群创建、集群导入、数据平衡、扩容缩容等操作。详情参见[什么是Nebula Dashboard](../nebula-dashboard_ent/1.what-is-dashboard_ent.md)

|Nebula Graph版本|Dashboard企业版本(commit id)|
|:---|:---|
| {{ nebula.release }} | {{dashboard_ent.release}}(79248d9) |

## Nebula Explorer

Nebula Explorer(简称Explorer)是一款可以通过Web访问的图探索可视化工具,搭配Nebula Graph内核使用,用于与图数据进行可视化交互。即使没有图数据操作经验,用户也可以快速成为图专家。详情参见[什么是Nebula Explorer](../nebula-explorer/about-explorer/ex-ug-what-is-explorer.md)

|Nebula Graph版本|Explorer版本(commit id)|
|:---|:---|
| {{ nebula.release }} | {{explorer.base100}}(3b82142) |
| {{ nebula.release }} | {{explorer.release}}(3acdd02) |


## Nebula Exchange

Nebula Exchange(简称Exchange)是一款Apache Spark&trade;应用,用于在分布式环境中将集群中的数据批量迁移到Nebula Graph中,能支持多种不同格式的批式数据和流式数据的迁移。详情请参见[什么是Nebula Exchange](../nebula-exchange/about-exchange/ex-ug-what-is-exchange.md)

|Nebula Graph版本|Exchange版本(commit id)|
|:---|:---|
| {{ nebula.release }} | {{exchange.release}}(cb83202) |
|Nebula Graph版本|Exchange社区版版本(commit id)|Exchange企业版版本(commit id)|
|:---|:---|:--|
| {{ nebula.release }} | {{exchange.release}}(cb83202) |{{exchange_ent.release}}(9c54c97) |

<!--
## Nebula Operator
Nebula Operator(简称Operator)是用于在Kubernetes系统上自动化部署和运维Nebula Graph集群的工具。依托于Kubernetes扩展机制,Nebula Graph将其运维领域的知识全面注入至Kubernetes系统中,让Nebula Graph成为真正的云原生图数据库。详情请参考[什么是Nebula Operator](../nebula-operator/1.introduction-to-nebula-operator.md)。
|Nebula Graph版本|Operator版本(commit id)|
|:---|:---|
| {{ nebula.release }} | {{operator.release}}(6d1104e) |
-->

## Nebula Importer

Expand All @@ -84,15 +98,15 @@ Nebula Spark Connector是一个Spark连接器,提供通过Spark标准形式读

|Nebula Graph版本|Spark Connector版本(commit id)|
|:---|:---|
| {{ nebula.release }} | {{sparkconnector.release}}(2c61ca5|
| {{ nebula.release }} | {{sparkconnector.release}}(cfe8ffc|

## Nebula Flink Connector

Nebula Flink Connector是一款帮助Flink用户快速访问Nebula Graph的连接器,支持从Nebula Graph图数据库中读取数据,或者将其他外部数据源读取的数据写入Nebula Graph图数据库。详情请参见[什么是Nebula Flink Connector](../nebula-flink-connector.md)

|Nebula Graph版本|Flink Connector版本(commit id)|
|:---|:---|
| {{ nebula.release }} | {{flinkconnector.release}}(49b8f3d|
| {{ nebula.release }} | {{flinkconnector.release}}(32b5225|

## Nebula Algorithm

Expand Down Expand Up @@ -146,7 +160,7 @@ Docker Compose可以快速部署Nebula Graph集群。如何使用请参见[Docke
|:---| :--- |
| {{ 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 }}| [Python](https://github.com/vesoft-inc/nebula-python/tree/{{python.branch}})f9e8b11|
| {{ nebula.release }}| [Java](https://github.com/vesoft-inc/nebula-java/tree/{{java.branch}})(8e171e4) |

## 未发布
Expand Down
49 changes: 1 addition & 48 deletions docs-2.0/20.appendix/releasenote.md
Original file line number Diff line number Diff line change
@@ -1,55 +1,8 @@
# Nebula Graph {{ nebula.release }} release notes

## 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)

## Enhancement

- 优化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)
修复了`LOOKUP``YIELD`子句出现聚合函数时,Nebula Graph连接会被中断的缺陷。[#3245](https://github.com/vesoft-inc/nebula/pull/3245)

## 历史版本

Expand Down
2 changes: 1 addition & 1 deletion docs-2.0/3.ngql-guide/1.nGQL-overview/1.overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ CREATE {TAG | EDGE} {<tag_name> | <edge_type>}(<property_name> <data_type>
示例语句:

```ngql
nebula> CREATE TAG player(name string, age int);
nebula> CREATE TAG IF NOT EXISTS player(name string, age int);
```

## 关于openCypher兼容性
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
以下语句会出现错误,因为`my_space``MY_SPACE`是两个不同的图空间。

```ngql
nebula> CREATE SPACE my_space (vid_type=FIXED_STRING(30));
nebula> CREATE SPACE IF NOT EXISTS my_space (vid_type=FIXED_STRING(30));
nebula> use MY_SPACE;
[ERROR (-8)]: SpaceNotFound:
```
Expand Down
8 changes: 4 additions & 4 deletions docs-2.0/3.ngql-guide/10.tag-statements/1.create-tag.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,16 @@ CREATE TAG [IF NOT EXISTS] <tag_name>
## 示例

```ngql
nebula> CREATE TAG player(name string, age int);
nebula> CREATE TAG IF NOT EXISTS player(name string, age int);
# 创建没有属性的Tag。
nebula> CREATE TAG no_property(); 
nebula> CREATE TAG IF NOT EXISTS no_property(); 
# 创建包含默认值的Tag。
nebula> CREATE TAG player_with_default(name string, age int DEFAULT 20);
nebula> CREATE TAG IF NOT EXISTS player_with_default(name string, age int DEFAULT 20);
# 对字段create_time设置TTL为100秒。
nebula> CREATE TAG woman(name string, age int, \
nebula> CREATE TAG IF NOT EXISTS woman(name string, age int, \
married bool, salary double, create_time timestamp) \
TTL_DURATION = 100, TTL_COL = "create_time";
```
Expand Down
2 changes: 1 addition & 1 deletion docs-2.0/3.ngql-guide/10.tag-statements/2.drop-tag.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ DROP TAG [IF EXISTS] <tag_name>;
## 示例

```ngql
nebula> CREATE TAG test(p1 string, p2 int);
nebula> CREATE TAG IF NOT EXISTS test(p1 string, p2 int);
nebula> DROP TAG test;
```
2 changes: 1 addition & 1 deletion docs-2.0/3.ngql-guide/10.tag-statements/3.alter-tag.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ ttl_definition:
## 示例

```ngql
nebula> CREATE TAG t1 (p1 string, p2 int);
nebula> CREATE TAG IF NOT EXISTS t1 (p1 string, p2 int);
nebula> ALTER TAG t1 ADD (p3 int, p4 string);
nebula> ALTER TAG t1 TTL_DURATION = 2, TTL_COL = "p2";
nebula> ALTER TAG t1 COMMENT = 'test1';
Expand Down
4 changes: 2 additions & 2 deletions docs-2.0/3.ngql-guide/10.tag-statements/6.delete-tag.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ DELETE TAG <tag_name_list> FROM <VID>;
## 示例

```ngql
nebula> CREATE TAG test1(p1 string, p2 int);
nebula> CREATE TAG test2(p3 string, p4 int);
nebula> CREATE TAG IF NOT EXISTS test1(p1 string, p2 int);
nebula> CREATE TAG IF NOT EXISTS test2(p3 string, p4 int);
nebula> INSERT VERTEX test1(p1, p2),test2(p3, p4) VALUES "test":("123", 1, "456", 2);
nebula> FETCH PROP ON * "test";
+------------------------------------------------------------+
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@

```ngql
//创建股东Tag和索引
nebula> CREATE TAG shareholder();
nebula> CREATE TAG INDEX shareholder_tag on shareholder();
nebula> CREATE TAG IF NOT EXISTS shareholder();
nebula> CREATE TAG INDEX IF NOT EXISTS shareholder_tag on shareholder();
//为点添加Tag
nebula> INSERT VERTEX shareholder() VALUES "player100":();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,15 @@ CREATE EDGE [IF NOT EXISTS] <edge_type_name>
### 示例

```ngql
nebula> CREATE EDGE follow(degree int);
nebula> CREATE EDGE IF NOT EXISTS follow(degree int);
# 创建没有属性的Edge type。
nebula> CREATE EDGE no_property();
nebula> CREATE EDGE IF NOT EXISTS no_property();
# 创建包含默认值的Edge type。
nebula> CREATE EDGE follow_with_default(degree int DEFAULT 20);
nebula> CREATE EDGE IF NOT EXISTS follow_with_default(degree int DEFAULT 20);
# 对字段p2设置TTL为100秒。
nebula> CREATE EDGE e1(p1 string, p2 int, p3 timestamp) \
nebula> CREATE EDGE IF NOT EXISTS e1(p1 string, p2 int, p3 timestamp) \
TTL_DURATION = 100, TTL_COL = "p2";
```
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ DROP EDGE [IF EXISTS] <edge_type_name>
## 示例

```ngql
nebula> CREATE EDGE e1(p1 string, p2 int);
nebula> CREATE EDGE IF NOT EXISTS e1(p1 string, p2 int);
nebula> DROP EDGE e1;
```
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ ttl_definition:
## 示例

```ngql
nebula> CREATE EDGE e1(p1 string, p2 int);
nebula> CREATE EDGE IF NOT EXISTS e1(p1 string, p2 int);
nebula> ALTER EDGE e1 ADD (p3 int, p4 string);
nebula> ALTER EDGE e1 TTL_DURATION = 2, TTL_COL = "p2";
nebula> ALTER EDGE e1 COMMENT = 'edge1';
Expand Down
10 changes: 5 additions & 5 deletions docs-2.0/3.ngql-guide/12.vertex-statements/1.insert-vertex.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,12 @@ prop_value_list:

```ngql
# 插入不包含属性的点。
nebula> CREATE TAG t1();
nebula> CREATE TAG IF NOT EXISTS t1();
nebula> INSERT VERTEX t1() VALUE "10":();
```

```ngql
nebula> CREATE TAG t2 (name string, age int);
nebula> CREATE TAG IF NOT EXISTS t2 (name string, age int);
nebula> INSERT VERTEX t2 (name, age) VALUES "11":("n1", 12);
# 创建失败,因为"a13"不是int类型。
Expand All @@ -64,8 +64,8 @@ nebula> INSERT VERTEX t2 (name, age) VALUES "13":("n3", 12), "14":("n4", 8);
```

```ngql
nebula> CREATE TAG t3(p1 int);
nebula> CREATE TAG t4(p2 string);
nebula> CREATE TAG IF NOT EXISTS t3(p1 int);
nebula> CREATE TAG IF NOT EXISTS t4(p2 string);
# 一次插入两个Tag的属性到同一个点。
nebula> INSERT VERTEX t3 (p1), t4(p2) VALUES "21": (321, "hello");
Expand All @@ -87,7 +87,7 @@ nebula> FETCH PROP ON t2 "11";
```

```ngql
nebula> CREATE TAG t5(p1 fixed_string(5) NOT NULL, p2 int, p3 int DEFAULT NULL);
nebula> CREATE TAG IF NOT EXISTS t5(p1 fixed_string(5) NOT NULL, p2 int, p3 int DEFAULT NULL);
nebula> INSERT VERTEX t5(p1, p2, p3) VALUES "001":("Abe", 2, 3);
# 插入失败,因为属性p1不能为NULL。
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ nebula> UPSERT VERTEX ON player "player668" \
上面最后一个示例中,因为`age`没有默认值,插入点时,`age`默认值为`NULL`,执行`age = age + 1`后仍为`NULL`。如果`age`有默认值,则`age = age + 1`可以正常执行,例如:

```ngql
nebula> CREATE TAG player_with_default(name string, age int DEFAULT 20);
nebula> CREATE TAG IF NOT EXISTS player_with_default(name string, age int DEFAULT 20);
Execution succeeded
nebula> UPSERT VERTEX ON player_with_default "player101" \
Expand Down
4 changes: 2 additions & 2 deletions docs-2.0/3.ngql-guide/13.edge-statements/1.insert-edge.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,15 @@ INSERT EDGE [IF NOT EXISTS] <edge_type> ( <prop_name_list> ) {VALUES | VALUE}

```ngql
# 插入不包含属性的边。
nebula> CREATE EDGE e1();
nebula> CREATE EDGE IF NOT EXISTS e1();
nebula> INSERT EDGE e1 () VALUES "10"->"11":();
# 插入rank为1的边。
nebula> INSERT EDGE e1 () VALUES "10"->"11"@1:();
```

```ngql
nebula> CREATE EDGE e2 (name string, age int);
nebula> CREATE EDGE IF NOT EXISTS e2 (name string, age int);
nebula> INSERT EDGE e2 (name, age) VALUES "11"->"13":("n1", 1);
# 一次插入2条边。
Expand Down
2 changes: 1 addition & 1 deletion docs-2.0/3.ngql-guide/13.edge-statements/3.upsert-edge.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ nebula> UPSERT EDGE on serve \
上面最后一个示例中,因为`end_year`没有默认值,插入边时,`end_year`默认值为`NULL`,执行`end_year = end_year + 1`后仍为`NULL`。如果`end_year`有默认值,则`end_year = end_year + 1`可以正常执行,例如:

```ngql
nebula> CREATE EDGE serve_with_default(start_year int, end_year int DEFAULT 2010);
nebula> CREATE EDGE IF NOT EXISTS serve_with_default(start_year int, end_year int DEFAULT 2010);
Execution succeeded
nebula> UPSERT EDGE on serve_with_default \
Expand Down
Loading

0 comments on commit 9e1248c

Please sign in to comment.