Copilot commented on code in PR #444: URL: https://github.com/apache/incubator-hugegraph-doc/pull/444#discussion_r2707287382
########## content/cn/docs/quickstart/hugegraph/hugegraph-server.md: ########## @@ -200,10 +200,29 @@ task.scheduler_type=distributed pd.peers=127.0.0.1:8686,127.0.0.1:8687,127.0.0.1:8688 ``` +```properties +# 简单示例(带鉴权) +gremlin.graph=org.apache.hugegraph.auth.HugeFactoryAuthProxy + +# 指定存储 hstore(必须) +backend=hstore +serializer=binary +store=hugegraph + +# 指定任务调度器(1.7.0及之前必须) +task.scheduler_type=distributed + +# pd config +pd.peers=127.0.0.1:8686 +``` + 2. 修改 HugeGraph-Server 的 `rest-server.properties` 配置: ```properties usePD=true + +# 若需要 auth Review Comment: The spacing after "auth" is inconsistent. There's a trailing space after "auth" on line 224 which should be removed for consistency. ```suggestion # 若需要 auth ``` ########## content/cn/docs/clients/restful-api/graphs.md: ########## @@ -179,6 +187,19 @@ POST http://localhost:8080/graphspaces/DEFAULT/graphs/hugegraph-xx } ``` +**HStore 示例:** Review Comment: The Chinese HStore example section title is missing version information for consistency with the English version. The English version says "HStore Example (for version 1.7.0 and earlier):" while the Chinese version only says "HStore 示例:". Consider adding version information like "HStore 示例(1.7.0 及之前):" to match the English documentation. ```suggestion **HStore 示例(1.7.0 及之前):** ``` -- 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]
