bitflicker64 commented on code in PR #499:
URL: https://github.com/apache/hugegraph-doc/pull/499#discussion_r4225564711


##########
content/cn/docs/language/migrate-from-neo4j.md:
##########
@@ -0,0 +1,75 @@
+---
+title: "从 Neo4j 迁移"
+linkTitle: "从 Neo4j 迁移"
+weight: 4
+---
+
+### 本页面向谁
+
+正在评估 HugeGraph 的 Neo4j 用户。HugeGraph 的 Cypher 覆盖面由
+[cypher-for-gremlin](https://github.com/opencypher/cypher-for-gremlin) 转译器决定,
+与 Neo4j 并非 1:1 等价 —— 已验证与未验证范围见
+[Cypher 兼容性说明](/cn/docs/language/cypher-compatibility/),
+用法见 [HugeGraph Cypher](/cn/docs/language/hugegraph-cypher/)。
+
+### 可以直接带过来的部分
+
+| Neo4j 概念 | HugeGraph 对应 |
+|---|---|
+| 属性图模型(节点/关系/属性) | 相同 —— 顶点标签 / 边标签 / 属性 |
+| 基础 Cypher:`MATCH`/`WHERE`/`RETURN`/`CREATE`/`SET`/`DELETE` | 直接可用(REST 
`/cypher` 端点或 Java 客户端 `CypherManager`) |
+| 简单聚合(`count`/`sum`/`min`/`max`/`avg`) | 直接可用 |
+| 依赖图遍历的查询需求 | Gremlin 遍历或 [traverser REST 
API](/cn/docs/clients/restful-api/traverser/)(k-out、最短路、personalrank 等) |
+
+### 需要改变习惯的部分
+
+| 在 Neo4j 里 | 在 HugeGraph 里 |
+|---|---|
+| `CREATE INDEX` / `CREATE CONSTRAINT` | 通过 [schema REST 
API](/cn/docs/clients/restful-api/schema/) 建索引/约束;Cypher 不承载 DDL |
+| 隐式 schema(属性随意添加) | **强 schema**:先定义 VertexLabel/EdgeLabel/PropertyKey,再写数据 |
+| 参数化查询 `$param` | 已发布版本仅发送原始语句 —— 缺失的绑定会被求值为 `null`(空结果),请在客户端校验取值;JSON 
绑定参数已通过 [ASF PR #3289](https://github.com/apache/hugegraph/pull/3289) 合入 
`master`,固定最多 16 个顶层绑定参数 |
+| `CALL dbms.*` / `CALL algo.*` 过程 | 对应功能分散在 
[traverser](/cn/docs/clients/restful-api/traverser/)、[task](/cn/docs/clients/restful-api/task/)
 等 REST API |
+| 驱动:Neo4j Bolt driver | 
[hugegraph-client](/cn/docs/clients/hugegraph-client/)(`CypherManager`)或任意 HTTP 
客户端 |
+| 事务边界在 Cypher 语句内 | 每次请求一个语句;图到图的数据迁移使用 [Apache SeaTunnel 
3.0.0](https://seatunnel.apache.org/download/)(首选 —— 见下文),基于文件的批量导入使用 
[HugeGraph Loader](/cn/docs/quickstart/toolchain/hugegraph-loader/) |
+
+截至 2026-10-09,最新已发布版本为 1.7.0;JSON 绑定请求已进入 `master`(1.8.0 开发线),不能据此认为 1.7.0 已支持。
+
+### 建议的迁移路径
+
+1. **盘点查询**:把应用里的 Cypher 按
+   [兼容性说明](/cn/docs/language/cypher-compatibility/) 分成
+   "直接可用 / 需改写为 Gremlin / 需换 REST API" 三类。
+2. **先建 schema**:用 schema API 建好 VertexLabel/EdgeLabel/PropertyKey 和索引 ——
+   HugeGraph 在写入前要求 schema 存在。
+3. **导入数据**:首选路径是 [Apache SeaTunnel 
3.0.0](https://seatunnel.apache.org/download/)
+   (2026-09-29 发布),直接运行 **Neo4j Source → HugeGraph Sink** —— 无需中间文件导出。
+   小数据集用 REST 也没问题;基于文件的大批量导入仍可使用
+   [HugeGraph 
Loader](https://github.com/apache/hugegraph-toolchain/tree/master/hugegraph-loader)。
+   HugeGraph 侧的环境准备、`mappings` 配置与顶点/边导入示例见
+   [通过 SeaTunnel Sink 
导入图数据](/cn/docs/quickstart/toolchain/import/hugegraph-seatunnel-connector/)。
+
+   [SeaTunnel 3.0.0 连接器文档](https://seatunnel.apache.org/docs/3.0.0/about/) 
说明了可依赖的能力:

Review Comment:
   Minor: Same broken link as the EN page (line 56). 
`https://seatunnel.apache.org/docs/3.0.0/about/` returns HTTP 404. The 3.0.0 
page is at `https://seatunnel.apache.org/docs/3.0.0/introduction/about/`. 
Please update it the same way as the EN page.



##########
content/en/docs/language/migrate-from-neo4j.md:
##########
@@ -0,0 +1,88 @@
+---
+title: "Migrating from Neo4j"
+linkTitle: "Migrating from Neo4j"
+weight: 4
+---
+
+### Who this page is for
+
+Neo4j users evaluating HugeGraph. HugeGraph's Cypher coverage is defined by
+the [`cypher-for-gremlin`](https://github.com/opencypher/cypher-for-gremlin)
+translator and is not 1:1 with Neo4j — see the
+[Cypher compatibility notes](/docs/language/cypher-compatibility/) for the
+verified and unverified areas and
+[HugeGraph Cypher](/docs/language/hugegraph-cypher/) for usage.
+
+### What carries over directly
+
+| Neo4j concept | HugeGraph equivalent |
+|---|---|
+| Property graph model (nodes / relationships / properties) | Same — vertex 
labels / edge labels / properties |
+| Core Cypher: `MATCH`/`WHERE`/`RETURN`/`CREATE`/`SET`/`DELETE` | Works as-is 
(REST `/cypher` endpoint or Java client `CypherManager`) |
+| Simple aggregations (`count`/`sum`/`min`/`max`/`avg`) | Works as-is |
+| Traversal-heavy queries | Gremlin traversals or the [traverser REST 
APIs](/docs/clients/restful-api/traverser/) (k-out, shortest path, 
personalrank, ...) |
+
+### Habits you need to change
+
+| In Neo4j | In HugeGraph |
+|---|---|
+| `CREATE INDEX` / `CREATE CONSTRAINT` | Create indexes/constraints through 
the [schema REST APIs](/docs/clients/restful-api/schema/); Cypher carries no 
DDL |
+| Implicit schema (add properties freely) | **Strong schema**: define 
VertexLabel / EdgeLabel / PropertyKey before writing data |
+| Parameterized queries `$param` | Released versions send the raw statement 
only — a missing binding evaluates to `null` (empty result), so validate values 
client-side; JSON-bound parameters are available on `master` after [ASF PR 
#3289](https://github.com/apache/hugegraph/pull/3289), with a fixed limit of 16 
top-level bindings |
+| `CALL dbms.*` / `CALL algo.*` procedures | Equivalent capabilities live in 
the [traverser](/docs/clients/restful-api/traverser/), 
[task](/docs/clients/restful-api/task/), and other REST APIs |
+| Driver: Neo4j Bolt driver | 
[hugegraph-client](/docs/clients/hugegraph-client/) (`CypherManager`) or any 
HTTP client |
+| Transaction boundaries inside a Cypher statement | One statement per 
request; graph-to-graph data migration uses [Apache SeaTunnel 
3.0.0](https://seatunnel.apache.org/download/) (preferred — see below), 
file-based bulk loads use the [HugeGraph 
Loader](/docs/quickstart/toolchain/hugegraph-loader/) |
+
+The latest published release is 1.7.0 as of 2026-10-09; the merged JSON-bound 
request form is a
+`master` feature, not a promise about that release. See the compatibility 
notes for its validated contract.
+
+### Suggested migration path
+
+1. **Inventory your queries**: classify the Cypher in your application against
+   the [compatibility notes](/docs/language/cypher-compatibility/) into
+   "works as-is / rewrite as Gremlin / switch to a REST API".
+2. **Create the schema first**: define VertexLabel / EdgeLabel / PropertyKey
+   and indexes through the schema API — HugeGraph requires the schema to
+   exist before data is written.
+3. **Import data**: the preferred path is
+   [Apache SeaTunnel 3.0.0](https://seatunnel.apache.org/download/) (released
+   2026-09-29) running **Neo4j Source → HugeGraph Sink** directly — no
+   intermediate file export. REST remains fine for small datasets; the
+   [HugeGraph 
Loader](https://github.com/apache/hugegraph-toolchain/tree/master/hugegraph-loader)
+   stays an alternative for file-based imports. HugeGraph-side setup
+   (environment, `mappings`, vertex/edge import examples) is covered in the
+   [Import Graph Data with SeaTunnel Sink 
guide](/docs/quickstart/toolchain/import/hugegraph-seatunnel-connector/).
+
+   The [SeaTunnel 3.0.0 connector 
docs](https://seatunnel.apache.org/docs/3.0.0/about/) document

Review Comment:
   Minor: The "SeaTunnel 3.0.0 connector docs" link goes to 
`https://seatunnel.apache.org/docs/3.0.0/about/`, which returns HTTP 404 ("Page 
Not Found"). SeaTunnel 3.0.0 moved that page to 
`https://seatunnel.apache.org/docs/3.0.0/introduction/about/`, which returns 
200. The old path still works only for 2.3.x (`/docs/2.3.12/about/`). The three 
connector links below this line (Neo4j Source, HugeGraph Sink, HugeGraph 
Source) all return 200, so only this one is broken. The Hugo build cannot catch 
it because it is an external link.
   
   Requested change: point the link at 
`https://seatunnel.apache.org/docs/3.0.0/introduction/about/`, or at 
`https://seatunnel.apache.org/docs/3.0.0/connectors` if the sentence is meant 
to name the connector index. The CN page has the same link on line 51.



-- 
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]

Reply via email to