javeme commented on code in PR #270:
URL:
https://github.com/apache/incubator-hugegraph-doc/pull/270#discussion_r1226500191
##########
content/cn/docs/config/config-guide.md:
##########
@@ -259,46 +259,97 @@ cassandra.password=
### 5 多图配置
-我们的系统是可以存在多个图的,并且各个图的后端可以不一样,比如图 hugegraph 和 hugegraph1,其中 hugegraph 以
cassandra 作为后端,hugegraph1 以 rocksdb作为后端。
+我们的系统是可以存在多个图的,并且各个图的后端可以不一样,比如图 `hugegraph_rocksdb` 和 `hugegraph_mysql`,其中
`hugegraph_rocksdb` 以 `RocksDB` 作为后端,`hugegraph_mysql` 以 `MySQL` 作为后端。
配置方法也很简单:
-**修改 gremlin-server.yaml**
-
-在 gremlin-server.yaml 的 graphs 域中添加一个键值对,键为图的名字,值为图的配置文件路径,比如:
-
-```yaml
-graphs: {
- hugegraph: conf/hugegraph.properties,
- hugegraph1: conf/hugegraph1.properties
-}
-```
-
**修改 rest-server.properties**
Review Comment:
这个修改应该不是必须的了,可以标记上“可选”
##########
content/cn/docs/config/config-guide.md:
##########
@@ -259,46 +259,97 @@ cassandra.password=
### 5 多图配置
-我们的系统是可以存在多个图的,并且各个图的后端可以不一样,比如图 hugegraph 和 hugegraph1,其中 hugegraph 以
cassandra 作为后端,hugegraph1 以 rocksdb作为后端。
+我们的系统是可以存在多个图的,并且各个图的后端可以不一样,比如图 `hugegraph_rocksdb` 和 `hugegraph_mysql`,其中
`hugegraph_rocksdb` 以 `RocksDB` 作为后端,`hugegraph_mysql` 以 `MySQL` 作为后端。
配置方法也很简单:
-**修改 gremlin-server.yaml**
-
-在 gremlin-server.yaml 的 graphs 域中添加一个键值对,键为图的名字,值为图的配置文件路径,比如:
-
-```yaml
-graphs: {
- hugegraph: conf/hugegraph.properties,
- hugegraph1: conf/hugegraph1.properties
-}
-```
-
**修改 rest-server.properties**
-在 rest-server.properties 的 graphs 域中添加一个键值对,键为图的名字,值为图的配置文件路径,比如:
+在 rest-server.properties 的 graphs 域中修改图的配置文件路径(默认路径),比如:
Review Comment:
这里能否尝试调整得更加明确一些?比如:
```
可以在 rest-server.properties 的 graphs
域中修改图的配置文件目录,不过在此示例中我们保持默认配置即可。默认配置为`graphs=./conf/graphs`,如果想要修改为其它目录则调整
graphs 域,比如调整为`graphs=/etc/hugegraph/graphs`:
```
##########
content/cn/docs/config/config-guide.md:
##########
@@ -259,46 +259,97 @@ cassandra.password=
### 5 多图配置
-我们的系统是可以存在多个图的,并且各个图的后端可以不一样,比如图 hugegraph 和 hugegraph1,其中 hugegraph 以
cassandra 作为后端,hugegraph1 以 rocksdb作为后端。
+我们的系统是可以存在多个图的,并且各个图的后端可以不一样,比如图 `hugegraph_rocksdb` 和 `hugegraph_mysql`,其中
`hugegraph_rocksdb` 以 `RocksDB` 作为后端,`hugegraph_mysql` 以 `MySQL` 作为后端。
配置方法也很简单:
-**修改 gremlin-server.yaml**
-
-在 gremlin-server.yaml 的 graphs 域中添加一个键值对,键为图的名字,值为图的配置文件路径,比如:
-
-```yaml
-graphs: {
- hugegraph: conf/hugegraph.properties,
- hugegraph1: conf/hugegraph1.properties
-}
-```
-
**修改 rest-server.properties**
-在 rest-server.properties 的 graphs 域中添加一个键值对,键为图的名字,值为图的配置文件路径,比如:
+在 rest-server.properties 的 graphs 域中修改图的配置文件路径(默认路径),比如:
```properties
-graphs=[hugegraph:conf/hugegraph.properties,
hugegraph1:conf/hugegraph1.properties]
+graphs=./conf/graphs
```
-**添加 hugegraph1.properties**
+在 `conf/graphs` 路径下基于 `hugegraph.properties` 修改得到
`hugegraph_mysql_backend.properties` 和 `hugegraph_rocksdb_backend.properties`
Review Comment:
"和"后面看起来有2个多余的空格
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]