javeme commented on code in PR #270: URL: https://github.com/apache/incubator-hugegraph-doc/pull/270#discussion_r1227555556
########## content/en/docs/quickstart/hugegraph-server.md: ########## @@ -325,6 +325,45 @@ Connecting to HugeGraphServer (http://127.0.0.1:8080/graphs)....OK > for more other backend configurations, please refer to[introduction to > configuration items](/docs/config/config-option) Review Comment: prefer options instead of items ########## content/en/docs/config/config-guide.md: ########## @@ -257,46 +257,97 @@ Pay attention to the following uncommented items: ### 5. Multi-Graph Configuration -Our system can have multiple graphs, and each graph can have a different backend. For example, there are two graphs named `hugegraph` and `hugegraph1`, where `hugegraph` uses Cassandra as the backend and `hugegraph1` uses RocksDB as the backend. +Our system can have multiple graphs, and the backend of each graph can be different, such as `hugegraph_rocksdb` and `hugegraph_mysql`, where `hugegraph_rocksdb` uses `RocksDB` as the backend, and `hugegraph_mysql` uses `MySQL` as a backend. The configuration method is simple: -**Modify `gremlin-server.yaml`** +**[Optional]: Modify `rest-server.properties`** -Add a key-value pair in the `graphs` section of `gremlin-server.yaml`, where the key is the name of the graph and the value is the path to the graph's configuration file. For example: +You can modify the graph profile directory in the `graphs` field of `rest-server.properties`. The default configuration is `graphs=./conf/graphs`, if you want to change it to another directory then adjust the `graphs` field, e.g. adjust it to `graphs=/etc/hugegraph/graphs`, example is as follows: Review Comment: prefer option instead of field -- 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]
