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

Merge v2.5.0 #690

Merged
merged 103 commits into from
Sep 6, 2021
Merged
Show file tree
Hide file tree
Changes from 100 commits
Commits
Show all changes
103 commits
Select commit Hold shift + click to select a range
35258e5
change to 2.5.0
whitewum Sep 2, 2021
63b582b
change to 2.5.0
whitewum Sep 2, 2021
4b01f3f
Merge branch 'v2.5.0' of github.com:vesoft-inc/nebula-docs into v2.5.0
whitewum Sep 2, 2021
de14362
Merge branch 'v2.5.0' of github.com:vesoft-inc/nebula-docs into v2.5.0
whitewum Sep 2, 2021
a514cf2
Merge branch 'v2.5.0' of github.com:vesoft-inc/nebula-docs into v2.5.0
whitewum Sep 2, 2021
a4fb6fd
Delete header.html
whitewum Sep 2, 2021
c5bc226
Update README.md
whitewum Sep 2, 2021
58f1559
Update README.md
whitewum Sep 2, 2021
1802afc
fix format
foesa-yang Sep 2, 2021
73ab1ac
Merge branch 'v2.5.0' of https://github.com/vesoft-inc/nebula-docs in…
foesa-yang Sep 2, 2021
bfe8a1e
fix () punctuation
whitewum Sep 2, 2021
50d6ab9
Merge branch 'v2.5.0' of github.com:vesoft-inc/nebula-docs into v2.5.0
whitewum Sep 2, 2021
574b70a
Update 2.deploy-dashboard.md
foesa-yang Sep 2, 2021
5432821
Merge branch 'v2.5.0' of github.com:vesoft-inc/nebula-docs into v2.5.0
whitewum Sep 2, 2021
b8f8180
Merge branch 'v2.5.0' of github.com:vesoft-inc/nebula-docs into v2.5.0
whitewum Sep 2, 2021
e70ab93
Merge branch 'v2.5.0' of github.com:vesoft-inc/nebula-docs into v2.5.0
whitewum Sep 2, 2021
79be40a
Merge branch 'v2.5.0' of github.com:vesoft-inc/nebula-docs into v2.5.0
whitewum Sep 2, 2021
7d7be66
Update ex-ug-page-overview.md
foesa-yang Sep 2, 2021
04c54fe
Update ex-ug-deploy.md
foesa-yang Sep 2, 2021
a4ffd19
Update ex-ug-deploy.md
foesa-yang Sep 2, 2021
79cb529
upgrade nebula graph to 250 (#677)
izhuxiaoqing Sep 2, 2021
a0caa87
the package name is Schrodinger
whitewum Sep 2, 2021
e75f06e
Merge branch 'v2.5.0' of github.com:vesoft-inc/nebula-docs into v2.5.0
whitewum Sep 2, 2021
cfd7526
Merge branch 'v2.5.0' of github.com:vesoft-inc/nebula-docs into v2.5.0
whitewum Sep 2, 2021
bdecf95
Merge branch 'v2.5.0' of github.com:vesoft-inc/nebula-docs into v2.5.0
whitewum Sep 2, 2021
dca8d80
Fix punctuation issues (#678)
randomJoe211 Sep 2, 2021
3692a8d
update eco tools and metrics (#680)
izhuxiaoqing Sep 2, 2021
eaf305d
commit id
whitewum Sep 2, 2021
dd95627
commit id
whitewum Sep 2, 2021
ee23add
Merge branch 'v2.5.0' of github.com:vesoft-inc/nebula-docs into v2.5.0
whitewum Sep 2, 2021
5c620df
Merge branch 'v2.5.0' of github.com:vesoft-inc/nebula-docs into v2.5.0
whitewum Sep 2, 2021
6c3414e
Merge branch 'v2.5.0' of github.com:vesoft-inc/nebula-docs into v2.5.0
whitewum Sep 2, 2021
87ef950
Update README.md
randomJoe211 Sep 2, 2021
f4128df
Update README.md
randomJoe211 Sep 2, 2021
99ba5d0
Merge branch 'v2.5.0' of github.com:vesoft-inc/nebula-docs into v2.5.0
whitewum Sep 2, 2021
388289f
Update mkdocs.yml (#682)
izhuxiaoqing Sep 2, 2021
4e2492c
Delete ex-ug-terms.md
cooper-lzy Sep 2, 2021
6580b11
repair links (#681)
cooper-lzy Sep 2, 2021
fa0600d
update
foesa-yang Sep 2, 2021
1ab2933
repair-links (#683)
cooper-lzy Sep 2, 2021
092ad30
Update ex-ug-parameter.md (#684)
randomJoe211 Sep 2, 2021
a3c0823
Update 1.query-performance-metrics.md
cooper-lzy Sep 2, 2021
e77d38c
proofread
whitewum Sep 2, 2021
0bf6db7
proofread
whitewum Sep 2, 2021
7f26fce
Update st-ug-connect.md
foesa-yang Sep 2, 2021
20bb091
Merge branch 'v2.5.0' of github.com:vesoft-inc/nebula-docs into v2.5.0
whitewum Sep 2, 2021
d3f904d
Merge branch 'v2.5.0' of github.com:vesoft-inc/nebula-docs into v2.5.0
whitewum Sep 2, 2021
8d8a29e
update metrics formats (#685)
izhuxiaoqing Sep 2, 2021
2848e96
Update 2.graph-modeling.md
cooper-lzy Sep 2, 2021
868bd93
Update st-ug-explore.md
foesa-yang Sep 2, 2021
66129fd
Update 3.system-design.md
cooper-lzy Sep 2, 2021
95fbab7
Update st-ug-crud-tag.md
foesa-yang Sep 2, 2021
ba6df3c
Update st-ug-crud-edge-type.md
foesa-yang Sep 2, 2021
dc09c8d
Update st-ug-crud-index.md
foesa-yang Sep 2, 2021
eb6495d
Create st-ug-crud-index.md
foesa-yang Sep 2, 2021
07c41af
Update st-ug-crud-index.md
foesa-yang Sep 2, 2021
d860129
Update st-ug-open-in-explore.md
foesa-yang Sep 2, 2021
eb0c223
update
foesa-yang Sep 2, 2021
e770257
Update st-ug-visualize-subgraph.md
foesa-yang Sep 2, 2021
1856737
Update st-ug-faq.md
foesa-yang Sep 2, 2021
2bc4a42
Update 2.deploy-dashboard.md
foesa-yang Sep 2, 2021
fdf2581
Update 2.deploy-dashboard.md
foesa-yang Sep 2, 2021
162d257
proofread 2
whitewum Sep 2, 2021
89bf53f
Merge branch 'v2.5.0' of github.com:vesoft-inc/nebula-docs into v2.5.0
whitewum Sep 2, 2021
9330818
Update 2.deploy-dashboard.md
foesa-yang Sep 2, 2021
ad4a640
Create 2.deploy-dashboard.md
foesa-yang Sep 2, 2021
3ba8d32
Merge branch 'v2.5.0' of github.com:vesoft-inc/nebula-docs into v2.5.0
whitewum Sep 2, 2021
01b6be8
Merge branch 'v2.5.0' of github.com:vesoft-inc/nebula-docs into v2.5.0
whitewum Sep 2, 2021
26cbb3d
Update ex-ug-page-overview.md
foesa-yang Sep 2, 2021
31ee4b8
Update 3.graph-config.md
foesa-yang Sep 2, 2021
34fd68b
Update ex-ug-page-overview.md
foesa-yang Sep 2, 2021
90ca947
Merge branch 'v2.5.0' of github.com:vesoft-inc/nebula-docs into v2.5.0
whitewum Sep 2, 2021
79b54cb
Fix titles (#687)
randomJoe211 Sep 2, 2021
efc951f
Update upgrade-nebula-from-200-to-250.md
izhuxiaoqing Sep 2, 2021
4f87ea8
Update upgrade-nebula-from-200-to-250.md
whitewum Sep 2, 2021
d221d86
Update upgrade-nebula-from-200-to-250.md
izhuxiaoqing Sep 2, 2021
6a3efe6
Update upgrade-nebula-from-200-to-250.md
whitewum Sep 2, 2021
4430d59
Update ex-ug-connect.md
foesa-yang Sep 2, 2021
ebfe3b7
Update ex-ug-page-overview.md
foesa-yang Sep 2, 2021
6e177c1
Update 6.list.md
randomJoe211 Sep 2, 2021
61c93f8
Update 3.deploy-listener.md
cooper-lzy Sep 2, 2021
6e62b44
Update 1.search-with-text-based-index.md
cooper-lzy Sep 2, 2021
8fb6a43
fix
cooper-lzy Sep 2, 2021
99e7b77
Merge branch 'v2.5.0' of github.com:vesoft-inc/nebula-docs into v2.5.0
whitewum Sep 2, 2021
3b7260e
Update 4.job-statements.md
cooper-lzy Sep 2, 2021
2fe3a21
Merge branch 'v2.5.0' of github.com:vesoft-inc/nebula-docs into v2.5.0
whitewum Sep 2, 2021
6c5dc59
Merge branch 'v2.5.0' of github.com:vesoft-inc/nebula-docs into v2.5.0
whitewum Sep 2, 2021
e71098b
math
whitewum Sep 2, 2021
eed0a82
Update 2.match.md (#688)
randomJoe211 Sep 2, 2021
681990f
update (#689)
izhuxiaoqing Sep 3, 2021
ef43c0a
Update st-ug-console.md
cooper-lzy Sep 3, 2021
de61f8d
Update source_install-nebula-graph-by-rpm-or-deb.md
cooper-lzy Sep 3, 2021
3d46d75
Update source_connect-to-nebula-graph.md
cooper-lzy Sep 3, 2021
95ceec3
Update source_manage-service.md
cooper-lzy Sep 3, 2021
5b3107c
Update 3.deploy-nebula-graph-with-docker-compose.md
cooper-lzy Sep 3, 2021
8eee607
Update upgrade-nebula-graph-to-250.md
cooper-lzy Sep 3, 2021
8402b06
Merge branch 'v2.5.0' into merge-v2.5.0.
cooper-lzy Sep 3, 2021
5930535
update
cooper-lzy Sep 3, 2021
ddf454f
Update deploy.yml
cooper-lzy Sep 6, 2021
dffedab
Update mkdocs.yml
cooper-lzy Sep 6, 2021
69bfe97
Update mkdocs.yml
cooper-lzy Sep 6, 2021
96c9c22
Update deploy.yml
cooper-lzy Sep 6, 2021
d9d23d6
update
cooper-lzy Sep 6, 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
16 changes: 4 additions & 12 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
deploy:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
Expand All @@ -29,22 +29,14 @@ jobs:
pip3 install -r ./requirements.txt

- name: Git Config
run: git config user.name jerry.liang && git config user.email ${{secrets.GIT_EMAIL}}
run: git config user.name whitewum && git config user.email [email protected]

- name: mike list delete
run: |
#mike delete 2.0.0 -p
mike deploy 2.5.0 -p --rebase
mike set-default 2.5.0 -p --rebase
cooper-lzy marked this conversation as resolved.
Show resolved Hide resolved
mike list

- name: Mike Deploy
run: mike deploy master -p --rebase

# - name: set-default
# run: mike set-default 2.0.1 -p

- name: mike list
run: mike list

# - name: Deploy
# uses: peaceiris/actions-gh-pages@v3
# with:
Expand Down
6 changes: 3 additions & 3 deletions docs-2.0/1.introduction/2.1.path.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ The following picture is an example for a brief introduction.

![path](../images/path1.png)

## walk
## Walk

A `walk` is a finite or infinite sequence of edges. Both vertices and edges can be repeatedly visited in graph traversal.

Expand All @@ -18,7 +18,7 @@ In the above picture C, D, and E form a cycle. So, this picture contains infinit

`GO` statements use `walk`.

## trail
## Trail

A `trail` is a finite sequence of edges. Only vertices can be repeatedly visited in graph traversal. The Seven Bridges of Königsberg is a typical `trail`.

Expand All @@ -40,7 +40,7 @@ There are two special cases of trail, `cycle`, and `circuit`. The following pict

A `circuit` refers to a closed `trail`. Edges cannot be repeatedly visited in graph traversal. Apart from the terminal vertices, other vertices can also be repeatedly visited. The longest path in this picture: `A->B->C->D->E->C->A`.

## path
## Path

A `path` is a finite sequence of edges. Neither vertices nor edges can be repeatedly visited in graph traversal.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ The other is the Storage Service that stores the data, which is run by the nebul

- High availability (Raft)

- Supports synchronizing with the third party systems, such as [Elasticsearch](../4.deployment-and-installation/6.deploy-text-based-index/2.deploy-es.md).
- Supports synchronizing with the third party systems, such as [Elasticsearch](../../4.deployment-and-installation/6.deploy-text-based-index/2.deploy-es.md).

## The architecture of Storage Service

Expand Down
19 changes: 18 additions & 1 deletion docs-2.0/1.introduction/3.vid.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ In Nebula Graph, a vertex is uniquely identified by its ID, which is called a VI

+ When two `INSERT` statements with the same VID but different tags, like `TAG A` and `TAG B`, are operated at the same time, the operation of `Tag A` will not affect `Tag B`.

- VIDs will usually be indexed and stored into memoryin the way of LSM-tree). Thus, direct access to VIDs enjoys peak performance.
- VIDs will usually be indexed and stored into memory (in the way of LSM-tree). Thus, direct access to VIDs enjoys peak performance.

## VID Operation

Expand Down Expand Up @@ -47,3 +47,20 @@ VIDs can be generated via applications. Here are some tips:
## Define and modify the data type of VIDs

The data type of VIDs must be defined when you [create the graph space](../3.ngql-guide/9.space-statements/1.create-space.md). Once defined, it cannot be modified.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pull and merge again

<!--
## "查询起始点"(`start vid`)与全局扫描

绝大多数情况下,Nebula Graph 的查询语句(`MATCH`, `GO`, `LOOKUP`)的执行计划,必须要通过一定方式找到查询起始点的 VID (`start vid`)。

定位 `start vid` 只有两种方式:

1. 例如 `GO FROM "player100" OVER` 是在语句中显式的指明 `start vid` 是 "player100";

2. 例如, `LOOKUP ON player WHERE player.name == "Tony Parker"` 或者 `MATCH (v:player {name:"Tony Parker"}) `,是通过属性 `player.name` 的索引来定位到 `start vid`;


!!! caution 不能在没有 `start vid` 情况下进行全局扫描;

例如 `match (n) return n;` 会返回错误,因为此时无法定位到 `start vid`;这是一个全局扫描,因此被禁止。
-->
4 changes: 2 additions & 2 deletions docs-2.0/14.client/4.nebula-java-client.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ You have installed Java 8.0 or later versions.

!!! note

We recommended that each thread use one session. If multiple threads use the same session, the performance will be reduced.
We recommend that each thread uses one session. If multiple threads use the same session, the performance will be reduced.

When importing a Maven project with tools such as IDEA, set the following dependency in `pom.xml`.

!!! note

`2.0.0-SNAPSHOT` indicates the daily development version that may have unknow issues. We recommend that you replace `2.0.0-SNAPSHOT` with a released version number to use a table version.
`2.0.0-SNAPSHOT` indicates the daily development version that may have unknown issues. We recommend that you replace `2.0.0-SNAPSHOT` with a released version number to use a table version.

```bash
<dependency>
Expand Down
4 changes: 2 additions & 2 deletions docs-2.0/14.client/5.nebula-python-client.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ $ pip install nebula2-python==<version>

!!! note

To run unit tests in the development mode, install `requirements-dev.txt` instead.
To run unit tests in the development mode, install dependencies of `requirements-dev.txt`.

4. Run the following command to install Nebula Python.

Expand All @@ -80,7 +80,7 @@ ok = connection_pool.init([('192.168.xx.1', 9669)], config)
# Get the session from the connection pool.
session = connection_pool.get_session('root', 'nebula')

# Selection a graph space.
# Select a graph space.
session.execute('USE basketballplayer')

# Run the SHOW TAGS statement.
Expand Down
6 changes: 3 additions & 3 deletions docs-2.0/15.contribution/how-to-contribute.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,9 @@ The Nebula Graph project has many [repositories](https://github.com/vesoft-inc).
git checkout -b myfeature
```

!!! note
!!! note

Because the PR often consists of several commits, which might be squashed while being merged into upstream. We strongly suggest you to open a separate topic branch to make your changes on. After merged, this topic branch can be just abandoned, thus you could synchronize your master branch with upstream easily with a rebase like above. Otherwise, if you commit your changes directly into master, you need to use a hard reset on the master branch. For example:
Because the PR often consists of several commits, which might be squashed while being merged into upstream. We strongly suggest you to open a separate topic branch to make your changes on. After merged, this topic branch can be just abandoned, thus you could synchronize your master branch with upstream easily with a rebase like above. Otherwise, if you commit your changes directly into master, you need to use a hard reset on the master branch. For example:

```bash
git fetch upstream
Expand Down Expand Up @@ -198,7 +198,7 @@ Email address: [email protected]

WeChat: NebulaGraphbot

Slack[Join Slack](https://join.slack.com/t/nebulagraph/shared_invite/zt-7ybejuqa-NCZBroh~PCh66d9kOQj45g)
Slack: [Join Slack](https://join.slack.com/t/nebulagraph/shared_invite/zt-7ybejuqa-NCZBroh~PCh66d9kOQj45g)

### Step 2: Get the information of the project recipient

Expand Down
70 changes: 0 additions & 70 deletions docs-2.0/2.quick-start/1.quick-start-workflow.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,73 +21,3 @@ Users can quickly deploy and use Nebula Graph in the following steps.
4. [CRUD in Nebula Graph](4.nebula-graph-crud.md)

Users can use nGQL (Nebula Graph Query Language) to run CRUD after connecting to Nebula Graph.

<!--
# 快速入门

快速入门将介绍如何简单地使用Nebula Graph, 包括部署、连接Nebula Graph, 以及基础的增删改查操作.

## 文档

按照以下步骤可以快速部署并且使用Nebula Graph.

1. [安装Nebula Graph](../4.deployment-and-installation/2.compile-and-install-nebula-graph/2.install-nebula-graph-by-rpm-or-deb.md)

使用RPM或DEB文件可以快速安装Nebula Graph. 其它部署方式及相应的准备工作请参见[安装部署](../4.deployment-and-installation/1.resource-preparations.md).

2. [启动Nebula Graph](5.start-stop-service.md)

部署好Nebula Graph之后需要启动Nebula Graph服务.

3. [连接Nebula Graph](3.connect-to-nebula-graph.md)

启动Nebula Graph服务后即可使用客户端连接. Nebula Graph支持多种客户端, 快速入门中介绍使用原生命令行客户端Nebula Console连接Nebula Graph的方法.

4. [使用常用nGQL(CRUD命令)](4.nebula-graph-crud.md)

连接到Nebula Graph之后即可使用nGQL(Nebula Graph Query Language)进行增删改查.

## 视频

用户也可以观看视频了解Nebula Graph的相关概念和操作.

### 热点视频

* [听吴敏博士聊Nebula Graph](https://www.bilibili.com/video/BV14U4y157zc)(37分40秒)

<iframe src="//player.bilibili.com/player.html?aid=673642782&bvid=BV14U4y157zc&cid=355543912&page=1&high_quality=1" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true" width="720px" height="480px"> </iframe>

* [Foesa小学姐课堂——Nebula Graph那些磨人的概念](https://www.bilibili.com/video/BV1Q5411K7Gg)(04分20秒)

<iframe src="//player.bilibili.com/player.html?aid=461196353&bvid=BV1Q5411K7Gg&cid=355536579&page=1&high_quality=1" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true" width="720px" height="480px"> </iframe>

* [Foesa小学姐课堂——path 的三种类型](https://www.bilibili.com/video/BV1Uf4y1t72L)(03分09秒)
<iframe src="//player.bilibili.com/player.html?aid=291311326&bvid=BV1Uf4y1t72L&cid=361000311&page=1" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true" width="720px" height="480px"> </iframe>

### 入门系列

* [Nebula Graph Studio图探索](https://www.bilibili.com/video/BV1QN411Z7Vh)(03分23秒)

<iframe src="//player.bilibili.com/player.html?aid=503286771&bvid=BV1QN411Z7Vh&cid=344349765&page=1&high_quality=1" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true" width="720px" height="480px"> </iframe>

* [Nebula Exchange](https://www.bilibili.com/video/BV1Pq4y177D9)(03分08秒)

<iframe src="//player.bilibili.com/player.html?aid=546003709&bvid=BV1Pq4y177D9&cid=352387808&page=1&high_quality=1" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true" width="720px" height="480px"> </iframe>

* [Nebula Algorithm](https://www.bilibili.com/video/BV1fB4y1T7XK)(02分36秒)

<iframe src="//player.bilibili.com/player.html?aid=588577467&bvid=BV1fB4y1T7XK&cid=351282857&page=1&high_quality=1" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true" width="720px" height="480px"> </iframe>

### NG辅导班

* [第一篇: 图世界的那些概念、术语](https://www.bilibili.com/video/BV17X4y1A7p9)(08分12秒)

<iframe src="//player.bilibili.com/player.html?aid=716209223&bvid=BV17X4y1A7p9&cid=355893988&page=1&high_quality=1" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true" width="720px" height="480px"> </iframe>

* [第二篇: 如何更好地学习 Nebula Graph](https://www.bilibili.com/video/BV1aX4y1A7xd)(07分44秒)

<iframe src="//player.bilibili.com/player.html?aid=716219807&bvid=BV1aX4y1A7xd&cid=355896587&page=1&high_quality=1" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true" width="720px" height="480px"> </iframe>

请访问[Bilibili空间](https://space.bilibili.com/472621355), 查看 30 多个, 500 多分钟的系列视频.

-->
2 changes: 1 addition & 1 deletion docs-2.0/2.quick-start/4.nebula-graph-crud.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Step 4: Use nGQLCRUD
# Step 4: Use nGQL (CRUD)

This topic will describe the basic CRUD operations in Nebula Graph.

Expand Down
Loading