You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hugegraph.apache.org by gi...@apache.org on 2023/05/19 10:18:05 UTC
[incubator-hugegraph-doc] branch asf-site updated: Update edgelabel.md (#242)
This is an automated email from the ASF dual-hosted git repository.
github-bot pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/incubator-hugegraph-doc.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 23fa22f3 Update edgelabel.md (#242)
23fa22f3 is described below
commit 23fa22f345a0cc2964437835651b13deb3ae23ea
Author: imbajin <im...@users.noreply.github.com>
AuthorDate: Fri May 19 10:17:58 2023 +0000
Update edgelabel.md (#242)
Completed the translation to English. 537ccf5ddd2f13cdca324b376511b70fadf219c7
---
docs/_print/index.html | 16 +++++-----
docs/clients/_print/index.html | 16 +++++-----
docs/clients/restful-api/_print/index.html | 16 +++++-----
docs/clients/restful-api/edgelabel/index.html | 36 ++++++++++-----------
docs/clients/restful-api/index.xml | 46 +++++++++++++--------------
docs/index.xml | 46 +++++++++++++--------------
en/index.html | 2 +-
en/sitemap.xml | 2 +-
sitemap.xml | 2 +-
9 files changed, 90 insertions(+), 92 deletions(-)
diff --git a/docs/_print/index.html b/docs/_print/index.html
index f7da9ae9..62d5889f 100644
--- a/docs/_print/index.html
+++ b/docs/_print/index.html
@@ -2245,7 +2245,7 @@ Implement a class inherited from <code>Formatter</code> in the directory, such a
</span></span></code></pre></div><h5 id=response-body-4>Response Body</h5><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-json data-lang=json><span style=display:flex><span><span style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"task_id"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#0000cf;font-weight:700>1</span>
</span></span><span style=display:flex><span><span style=color:#000;font-weight:700>}</span>
-</span></span></code></pre></div><p>Note:</p><blockquote><p>You can use <code>GET http://localhost:8080/graphs/hugegraph/tasks/1</code> (where “1” is the task_id) to query the execution status of the asynchronous task. For more information, refer to the <a href=../task>Asynchronous Task RESTful API</a>.</p></blockquote></div><div class=td-content style=page-break-before:always><h1 id=pg-41864d99c39fc7040549f6eaf5441daf>5.1.4 - EdgeLabel API</h1><h3 id=14-edgelabel>1.4 EdgeLab [...]
+</span></span></code></pre></div><p>Note:</p><blockquote><p>You can use <code>GET http://localhost:8080/graphs/hugegraph/tasks/1</code> (where “1” is the task_id) to query the execution status of the asynchronous task. For more information, refer to the <a href=../task>Asynchronous Task RESTful API</a>.</p></blockquote></div><div class=td-content style=page-break-before:always><h1 id=pg-41864d99c39fc7040549f6eaf5441daf>5.1.4 - EdgeLabel API</h1><h3 id=14-edgelabel>1.4 EdgeLab [...]
</span></span></code></pre></div><h5 id=request-body>Request Body</h5><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-json data-lang=json><span style=display:flex><span><span style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"name"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#4e9a06>"created"</span><span style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"source_label"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#4e9a06>"person"</span><span style=color:#000;font-weight:700>,</span>
@@ -2277,7 +2277,7 @@ Implement a class inherited from <code>Formatter</code> in the directory, such a
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"enable_label_index"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#204a87;font-weight:700>true</span><span style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"user_data"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#000;font-weight:700>{}</span>
</span></span><span style=display:flex><span><span style=color:#000;font-weight:700>}</span>
-</span></span></code></pre></div><p>从 hugegraph-server v0.11.2 版本开始支持边的 TTL 功能。边的 TTL 是通过 EdgeLabel 来设置的。比如希望 knows 类型的边存活时间为一天,需要在创建 knows EdgeLabel 的时候将 TTL 字段设置为 86400000,即单位为毫秒。</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-json data-lang=json><span style=display:flex><span><span style=color:#000;font-weight:700>{</span>
+</span></span></code></pre></div><p>Starting from version 0.11.2 of hugegraph-server, the TTL (Time to Live) feature for edges is supported. The TTL for edges is set through EdgeLabel. For example, if you want the “knows” type of edge to have a lifespan of one day, you need to set the TTL field to 86400000 when creating the “knows” EdgeLabel, where the unit is milliseconds.</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-t [...]
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"id"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#0000cf;font-weight:700>1</span><span style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"sort_keys"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#000;font-weight:700>[</span>
</span></span><span style=display:flex><span> <span style=color:#000;font-weight:700>],</span>
@@ -2297,7 +2297,7 @@ Implement a class inherited from <code>Formatter</code> in the directory, such a
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"ttl"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#0000cf;font-weight:700>86400000</span><span style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"user_data"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#000;font-weight:700>{}</span>
</span></span><span style=display:flex><span><span style=color:#000;font-weight:700>}</span>
-</span></span></code></pre></div><p>另外,当边中带有"创建时间"的属性且希望以"创建时间"属性作为计算边存活时间的起点时,可以设置 EdgeLabel 中的 ttl_start_time 字段。比如 knows EdgeLabel 有 createdTime 属性,且 createdTime 是 Date 类型的参数,希望 knows 类型的边从创建开始存活一天的时间,那么创建 knows EdgeLabel 的 Request Body 如下:</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-json data-lang=json><span style=display:flex><span><span style=color:#000;font-weight:700>{</span>
+</span></span></code></pre></div><p>Additionally, when the edge has a property called “createdTime” and you want to use the “createdTime” property as the starting point for calculating the edge’s lifespan, you can set the ttl_start_time field in the EdgeLabel. For example, if the knows EdgeLabel has a property called “createdTime” which is of type Date, and you want the “knows” type of edge to live for one day from the time of creatio [...]
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"id"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#0000cf;font-weight:700>1</span><span style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"sort_keys"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#000;font-weight:700>[</span>
</span></span><span style=display:flex><span> <span style=color:#000;font-weight:700>],</span>
@@ -2318,7 +2318,7 @@ Implement a class inherited from <code>Formatter</code> in the directory, such a
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"ttl_start_time"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#4e9a06>"createdTime"</span><span style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"user_data"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#000;font-weight:700>{}</span>
</span></span><span style=display:flex><span><span style=color:#000;font-weight:700>}</span>
-</span></span></code></pre></div><h4 id=142-为已存在的edgelabel添加properties或userdata或者移除userdata目前不支持移除properties>1.4.2 为已存在的EdgeLabel添加properties或userdata,或者移除userdata(目前不支持移除properties)</h4><h5 id=params>Params</h5><ul><li>action: 表示当前行为是添加还是移除,取值为<code>append</code>(添加)和<code>eliminate</code>(移除)</li></ul><h5 id=method--url-1>Method & Url</h5><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-fallback data-lang= [...]
+</span></span></code></pre></div><h4 id=142-add-properties-or-userdata-to-an-existing-edgelabel-or-remove-userdata-removing-properties-is-currently-not-supported>1.4.2 Add properties or userdata to an existing EdgeLabel, or remove userdata (removing properties is currently not supported)</h4><h5 id=params>Params</h5><ul><li>action: Indicates whether the current action is to add or remove, with values <code>append</code> (add) and <code>eliminate</code> (remove).</li></ul><h5 id=method--u [...]
</span></span></code></pre></div><h5 id=request-body-1>Request Body</h5><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-json data-lang=json><span style=display:flex><span><span style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"name"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#4e9a06>"created"</span><span style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"properties"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#000;font-weight:700>[</span>
@@ -2349,7 +2349,7 @@ Implement a class inherited from <code>Formatter</code> in the directory, such a
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"enable_label_index"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#204a87;font-weight:700>true</span><span style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"user_data"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#000;font-weight:700>{}</span>
</span></span><span style=display:flex><span><span style=color:#000;font-weight:700>}</span>
-</span></span></code></pre></div><h4 id=143-获取所有的edgelabel>1.4.3 获取所有的EdgeLabel</h4><h5 id=method--url-2>Method & Url</h5><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-fallback data-lang=fallback><span style=display:flex><span>GET http://localhost:8080/graphs/hugegraph/schema/edgelabels
+</span></span></code></pre></div><h4 id=143-get-all-edgelabels>1.4.3 Get all EdgeLabels</h4><h5 id=method--url-2>Method & Url</h5><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-fallback data-lang=fallback><span style=display:flex><span>GET http://localhost:8080/graphs/hugegraph/schema/edgelabels
</span></span></code></pre></div><h5 id=response-status-2>Response Status</h5><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-json data-lang=json><span style=display:flex><span><span style=color:#0000cf;font-weight:700>200</span>
</span></span></code></pre></div><h5 id=response-body-2>Response Body</h5><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-json data-lang=json><span style=display:flex><span><span style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"edgelabels"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#000;font-weight:700>[</span>
@@ -2394,7 +2394,7 @@ Implement a class inherited from <code>Formatter</code> in the directory, such a
</span></span><span style=display:flex><span> <span style=color:#000;font-weight:700>}</span>
</span></span><span style=display:flex><span> <span style=color:#000;font-weight:700>]</span>
</span></span><span style=display:flex><span><span style=color:#000;font-weight:700>}</span>
-</span></span></code></pre></div><h4 id=144-根据name获取edgelabel>1.4.4 根据name获取EdgeLabel</h4><h5 id=method--url-3>Method & Url</h5><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-fallback data-lang=fallback><span style=display:flex><span>GET http://localhost:8080/graphs/hugegraph/schema/edgelabels/created
+</span></span></code></pre></div><h4 id=144-get-edgelabel-by-name>1.4.4 Get EdgeLabel by name</h4><h5 id=method--url-3>Method & Url</h5><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-fallback data-lang=fallback><span style=display:flex><span>GET http://localhost:8080/graphs/hugegraph/schema/edgelabels/created
</span></span></code></pre></div><h5 id=response-status-3>Response Status</h5><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-json data-lang=json><span style=display:flex><span><span style=color:#0000cf;font-weight:700>200</span>
</span></span></code></pre></div><h5 id=response-body-3>Response Body</h5><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-json data-lang=json><span style=display:flex><span><span style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"id"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#0000cf;font-weight:700>1</span><span style=color:#000;font-weight:700>,</span>
@@ -2418,12 +2418,12 @@ Implement a class inherited from <code>Formatter</code> in the directory, such a
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"enable_label_index"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#204a87;font-weight:700>true</span><span style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"user_data"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#000;font-weight:700>{}</span>
</span></span><span style=display:flex><span><span style=color:#000;font-weight:700>}</span>
-</span></span></code></pre></div><h4 id=145-根据name删除edgelabel>1.4.5 根据name删除EdgeLabel</h4><p>删除 EdgeLabel 会导致删除对应的边以及相关的索引数据,会产生一个异步任务</p><h5 id=method--url-4>Method & Url</h5><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-fallback data-lang=fallback><span style=display:flex><span>DELETE http://localhost:8080/graphs/hugegraph/schema/edgelabels/created
+</span></span></code></pre></div><h4 id=145-delete-edgelabel-by-name>1.4.5 Delete EdgeLabel by name</h4><p>Deleting an EdgeLabel will result in the deletion of corresponding edges and related index data. This operation will generate an asynchronous task.</p><h5 id=method--url-4>Method & Url</h5><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-fallback data-lang=fallback><span style=display:flex><span>DELETE [...]
</span></span></code></pre></div><h5 id=response-status-4>Response Status</h5><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-json data-lang=json><span style=display:flex><span><span style=color:#0000cf;font-weight:700>202</span>
</span></span></code></pre></div><h5 id=response-body-4>Response Body</h5><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-json data-lang=json><span style=display:flex><span><span style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"task_id"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#0000cf;font-weight:700>1</span>
</span></span><span style=display:flex><span><span style=color:#000;font-weight:700>}</span>
-</span></span></code></pre></div><p>注:</p><blockquote><p>可以通过<code>GET http://localhost:8080/graphs/hugegraph/tasks/1</code>(其中"1"是task_id)来查询异步任务的执行状态,更多<a href=../task>异步任务RESTful API</a></p></blockquote></div><div class=td-content style=page-break-before:always><h1 id=pg-7099742fb947ad5dfde9e72216c10b8a>5.1.5 - IndexLabel API</h1><h3 id=15-indexlabel>1.5 IndexLabel</h3><p>假设已经创建好了1.1.3中的 PropertyKeys 、1.2.3中的 VertexLabels 以及 1.3.3中的 EdgeLabels</p><h4 id=151-创建一个indexlabel>1.5.1 创建一个In [...]
+</span></span></code></pre></div><p>Note:</p><blockquote><p>You can query the execution status of an asynchronous task by using <code>GET http://localhost:8080/graphs/hugegraph/tasks/1</code> (where “1” is the task_id). For more information, refer to the <a href=../task>Asynchronous Task RESTful API</a>.</p></blockquote></div><div class=td-content style=page-break-before:always><h1 id=pg-7099742fb947ad5dfde9e72216c10b8a>5.1.5 - IndexLabel API</h1><h3 id=15-indexlabel>1.5 Inde [...]
</span></span></code></pre></div><h5 id=request-body>Request Body</h5><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-json data-lang=json><span style=display:flex><span><span style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"name"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#4e9a06>"personByCity"</span><span style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"base_type"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#4e9a06>"VERTEX_LABEL"</span><span style=color:#000;font-weight:700>,</span>
diff --git a/docs/clients/_print/index.html b/docs/clients/_print/index.html
index 05a98702..0f7b4e64 100644
--- a/docs/clients/_print/index.html
+++ b/docs/clients/_print/index.html
@@ -607,7 +607,7 @@
</span></span></code></pre></div><h5 id=response-body-4>Response Body</h5><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-json data-lang=json><span style=display:flex><span><span style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"task_id"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#0000cf;font-weight:700>1</span>
</span></span><span style=display:flex><span><span style=color:#000;font-weight:700>}</span>
-</span></span></code></pre></div><p>Note:</p><blockquote><p>You can use <code>GET http://localhost:8080/graphs/hugegraph/tasks/1</code> (where “1” is the task_id) to query the execution status of the asynchronous task. For more information, refer to the <a href=../task>Asynchronous Task RESTful API</a>.</p></blockquote></div><div class=td-content style=page-break-before:always><h1 id=pg-41864d99c39fc7040549f6eaf5441daf>1.4 - EdgeLabel API</h1><h3 id=14-edgelabel>1.4 EdgeLabel [...]
+</span></span></code></pre></div><p>Note:</p><blockquote><p>You can use <code>GET http://localhost:8080/graphs/hugegraph/tasks/1</code> (where “1” is the task_id) to query the execution status of the asynchronous task. For more information, refer to the <a href=../task>Asynchronous Task RESTful API</a>.</p></blockquote></div><div class=td-content style=page-break-before:always><h1 id=pg-41864d99c39fc7040549f6eaf5441daf>1.4 - EdgeLabel API</h1><h3 id=14-edgelabel>1.4 EdgeLabel [...]
</span></span></code></pre></div><h5 id=request-body>Request Body</h5><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-json data-lang=json><span style=display:flex><span><span style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"name"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#4e9a06>"created"</span><span style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"source_label"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#4e9a06>"person"</span><span style=color:#000;font-weight:700>,</span>
@@ -639,7 +639,7 @@
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"enable_label_index"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#204a87;font-weight:700>true</span><span style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"user_data"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#000;font-weight:700>{}</span>
</span></span><span style=display:flex><span><span style=color:#000;font-weight:700>}</span>
-</span></span></code></pre></div><p>从 hugegraph-server v0.11.2 版本开始支持边的 TTL 功能。边的 TTL 是通过 EdgeLabel 来设置的。比如希望 knows 类型的边存活时间为一天,需要在创建 knows EdgeLabel 的时候将 TTL 字段设置为 86400000,即单位为毫秒。</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-json data-lang=json><span style=display:flex><span><span style=color:#000;font-weight:700>{</span>
+</span></span></code></pre></div><p>Starting from version 0.11.2 of hugegraph-server, the TTL (Time to Live) feature for edges is supported. The TTL for edges is set through EdgeLabel. For example, if you want the “knows” type of edge to have a lifespan of one day, you need to set the TTL field to 86400000 when creating the “knows” EdgeLabel, where the unit is milliseconds.</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-t [...]
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"id"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#0000cf;font-weight:700>1</span><span style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"sort_keys"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#000;font-weight:700>[</span>
</span></span><span style=display:flex><span> <span style=color:#000;font-weight:700>],</span>
@@ -659,7 +659,7 @@
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"ttl"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#0000cf;font-weight:700>86400000</span><span style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"user_data"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#000;font-weight:700>{}</span>
</span></span><span style=display:flex><span><span style=color:#000;font-weight:700>}</span>
-</span></span></code></pre></div><p>另外,当边中带有"创建时间"的属性且希望以"创建时间"属性作为计算边存活时间的起点时,可以设置 EdgeLabel 中的 ttl_start_time 字段。比如 knows EdgeLabel 有 createdTime 属性,且 createdTime 是 Date 类型的参数,希望 knows 类型的边从创建开始存活一天的时间,那么创建 knows EdgeLabel 的 Request Body 如下:</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-json data-lang=json><span style=display:flex><span><span style=color:#000;font-weight:700>{</span>
+</span></span></code></pre></div><p>Additionally, when the edge has a property called “createdTime” and you want to use the “createdTime” property as the starting point for calculating the edge’s lifespan, you can set the ttl_start_time field in the EdgeLabel. For example, if the knows EdgeLabel has a property called “createdTime” which is of type Date, and you want the “knows” type of edge to live for one day from the time of creatio [...]
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"id"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#0000cf;font-weight:700>1</span><span style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"sort_keys"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#000;font-weight:700>[</span>
</span></span><span style=display:flex><span> <span style=color:#000;font-weight:700>],</span>
@@ -680,7 +680,7 @@
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"ttl_start_time"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#4e9a06>"createdTime"</span><span style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"user_data"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#000;font-weight:700>{}</span>
</span></span><span style=display:flex><span><span style=color:#000;font-weight:700>}</span>
-</span></span></code></pre></div><h4 id=142-为已存在的edgelabel添加properties或userdata或者移除userdata目前不支持移除properties>1.4.2 为已存在的EdgeLabel添加properties或userdata,或者移除userdata(目前不支持移除properties)</h4><h5 id=params>Params</h5><ul><li>action: 表示当前行为是添加还是移除,取值为<code>append</code>(添加)和<code>eliminate</code>(移除)</li></ul><h5 id=method--url-1>Method & Url</h5><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-fallback data-lang= [...]
+</span></span></code></pre></div><h4 id=142-add-properties-or-userdata-to-an-existing-edgelabel-or-remove-userdata-removing-properties-is-currently-not-supported>1.4.2 Add properties or userdata to an existing EdgeLabel, or remove userdata (removing properties is currently not supported)</h4><h5 id=params>Params</h5><ul><li>action: Indicates whether the current action is to add or remove, with values <code>append</code> (add) and <code>eliminate</code> (remove).</li></ul><h5 id=method--u [...]
</span></span></code></pre></div><h5 id=request-body-1>Request Body</h5><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-json data-lang=json><span style=display:flex><span><span style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"name"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#4e9a06>"created"</span><span style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"properties"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#000;font-weight:700>[</span>
@@ -711,7 +711,7 @@
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"enable_label_index"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#204a87;font-weight:700>true</span><span style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"user_data"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#000;font-weight:700>{}</span>
</span></span><span style=display:flex><span><span style=color:#000;font-weight:700>}</span>
-</span></span></code></pre></div><h4 id=143-获取所有的edgelabel>1.4.3 获取所有的EdgeLabel</h4><h5 id=method--url-2>Method & Url</h5><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-fallback data-lang=fallback><span style=display:flex><span>GET http://localhost:8080/graphs/hugegraph/schema/edgelabels
+</span></span></code></pre></div><h4 id=143-get-all-edgelabels>1.4.3 Get all EdgeLabels</h4><h5 id=method--url-2>Method & Url</h5><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-fallback data-lang=fallback><span style=display:flex><span>GET http://localhost:8080/graphs/hugegraph/schema/edgelabels
</span></span></code></pre></div><h5 id=response-status-2>Response Status</h5><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-json data-lang=json><span style=display:flex><span><span style=color:#0000cf;font-weight:700>200</span>
</span></span></code></pre></div><h5 id=response-body-2>Response Body</h5><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-json data-lang=json><span style=display:flex><span><span style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"edgelabels"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#000;font-weight:700>[</span>
@@ -756,7 +756,7 @@
</span></span><span style=display:flex><span> <span style=color:#000;font-weight:700>}</span>
</span></span><span style=display:flex><span> <span style=color:#000;font-weight:700>]</span>
</span></span><span style=display:flex><span><span style=color:#000;font-weight:700>}</span>
-</span></span></code></pre></div><h4 id=144-根据name获取edgelabel>1.4.4 根据name获取EdgeLabel</h4><h5 id=method--url-3>Method & Url</h5><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-fallback data-lang=fallback><span style=display:flex><span>GET http://localhost:8080/graphs/hugegraph/schema/edgelabels/created
+</span></span></code></pre></div><h4 id=144-get-edgelabel-by-name>1.4.4 Get EdgeLabel by name</h4><h5 id=method--url-3>Method & Url</h5><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-fallback data-lang=fallback><span style=display:flex><span>GET http://localhost:8080/graphs/hugegraph/schema/edgelabels/created
</span></span></code></pre></div><h5 id=response-status-3>Response Status</h5><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-json data-lang=json><span style=display:flex><span><span style=color:#0000cf;font-weight:700>200</span>
</span></span></code></pre></div><h5 id=response-body-3>Response Body</h5><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-json data-lang=json><span style=display:flex><span><span style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"id"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#0000cf;font-weight:700>1</span><span style=color:#000;font-weight:700>,</span>
@@ -780,12 +780,12 @@
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"enable_label_index"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#204a87;font-weight:700>true</span><span style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"user_data"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#000;font-weight:700>{}</span>
</span></span><span style=display:flex><span><span style=color:#000;font-weight:700>}</span>
-</span></span></code></pre></div><h4 id=145-根据name删除edgelabel>1.4.5 根据name删除EdgeLabel</h4><p>删除 EdgeLabel 会导致删除对应的边以及相关的索引数据,会产生一个异步任务</p><h5 id=method--url-4>Method & Url</h5><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-fallback data-lang=fallback><span style=display:flex><span>DELETE http://localhost:8080/graphs/hugegraph/schema/edgelabels/created
+</span></span></code></pre></div><h4 id=145-delete-edgelabel-by-name>1.4.5 Delete EdgeLabel by name</h4><p>Deleting an EdgeLabel will result in the deletion of corresponding edges and related index data. This operation will generate an asynchronous task.</p><h5 id=method--url-4>Method & Url</h5><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-fallback data-lang=fallback><span style=display:flex><span>DELETE [...]
</span></span></code></pre></div><h5 id=response-status-4>Response Status</h5><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-json data-lang=json><span style=display:flex><span><span style=color:#0000cf;font-weight:700>202</span>
</span></span></code></pre></div><h5 id=response-body-4>Response Body</h5><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-json data-lang=json><span style=display:flex><span><span style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"task_id"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#0000cf;font-weight:700>1</span>
</span></span><span style=display:flex><span><span style=color:#000;font-weight:700>}</span>
-</span></span></code></pre></div><p>注:</p><blockquote><p>可以通过<code>GET http://localhost:8080/graphs/hugegraph/tasks/1</code>(其中"1"是task_id)来查询异步任务的执行状态,更多<a href=../task>异步任务RESTful API</a></p></blockquote></div><div class=td-content style=page-break-before:always><h1 id=pg-7099742fb947ad5dfde9e72216c10b8a>1.5 - IndexLabel API</h1><h3 id=15-indexlabel>1.5 IndexLabel</h3><p>假设已经创建好了1.1.3中的 PropertyKeys 、1.2.3中的 VertexLabels 以及 1.3.3中的 EdgeLabels</p><h4 id=151-创建一个indexlabel>1.5.1 创建一个Inde [...]
+</span></span></code></pre></div><p>Note:</p><blockquote><p>You can query the execution status of an asynchronous task by using <code>GET http://localhost:8080/graphs/hugegraph/tasks/1</code> (where “1” is the task_id). For more information, refer to the <a href=../task>Asynchronous Task RESTful API</a>.</p></blockquote></div><div class=td-content style=page-break-before:always><h1 id=pg-7099742fb947ad5dfde9e72216c10b8a>1.5 - IndexLabel API</h1><h3 id=15-indexlabel>1.5 IndexL [...]
</span></span></code></pre></div><h5 id=request-body>Request Body</h5><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-json data-lang=json><span style=display:flex><span><span style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"name"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#4e9a06>"personByCity"</span><span style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"base_type"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#4e9a06>"VERTEX_LABEL"</span><span style=color:#000;font-weight:700>,</span>
diff --git a/docs/clients/restful-api/_print/index.html b/docs/clients/restful-api/_print/index.html
index f9cb1c93..ec8e6b13 100644
--- a/docs/clients/restful-api/_print/index.html
+++ b/docs/clients/restful-api/_print/index.html
@@ -609,7 +609,7 @@
</span></span></code></pre></div><h5 id=response-body-4>Response Body</h5><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-json data-lang=json><span style=display:flex><span><span style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"task_id"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#0000cf;font-weight:700>1</span>
</span></span><span style=display:flex><span><span style=color:#000;font-weight:700>}</span>
-</span></span></code></pre></div><p>Note:</p><blockquote><p>You can use <code>GET http://localhost:8080/graphs/hugegraph/tasks/1</code> (where “1” is the task_id) to query the execution status of the asynchronous task. For more information, refer to the <a href=../task>Asynchronous Task RESTful API</a>.</p></blockquote></div><div class=td-content style=page-break-before:always><h1 id=pg-41864d99c39fc7040549f6eaf5441daf>4 - EdgeLabel API</h1><h3 id=14-edgelabel>1.4 EdgeLabel</ [...]
+</span></span></code></pre></div><p>Note:</p><blockquote><p>You can use <code>GET http://localhost:8080/graphs/hugegraph/tasks/1</code> (where “1” is the task_id) to query the execution status of the asynchronous task. For more information, refer to the <a href=../task>Asynchronous Task RESTful API</a>.</p></blockquote></div><div class=td-content style=page-break-before:always><h1 id=pg-41864d99c39fc7040549f6eaf5441daf>4 - EdgeLabel API</h1><h3 id=14-edgelabel>1.4 EdgeLabel</ [...]
</span></span></code></pre></div><h5 id=request-body>Request Body</h5><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-json data-lang=json><span style=display:flex><span><span style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"name"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#4e9a06>"created"</span><span style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"source_label"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#4e9a06>"person"</span><span style=color:#000;font-weight:700>,</span>
@@ -641,7 +641,7 @@
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"enable_label_index"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#204a87;font-weight:700>true</span><span style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"user_data"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#000;font-weight:700>{}</span>
</span></span><span style=display:flex><span><span style=color:#000;font-weight:700>}</span>
-</span></span></code></pre></div><p>从 hugegraph-server v0.11.2 版本开始支持边的 TTL 功能。边的 TTL 是通过 EdgeLabel 来设置的。比如希望 knows 类型的边存活时间为一天,需要在创建 knows EdgeLabel 的时候将 TTL 字段设置为 86400000,即单位为毫秒。</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-json data-lang=json><span style=display:flex><span><span style=color:#000;font-weight:700>{</span>
+</span></span></code></pre></div><p>Starting from version 0.11.2 of hugegraph-server, the TTL (Time to Live) feature for edges is supported. The TTL for edges is set through EdgeLabel. For example, if you want the “knows” type of edge to have a lifespan of one day, you need to set the TTL field to 86400000 when creating the “knows” EdgeLabel, where the unit is milliseconds.</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-t [...]
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"id"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#0000cf;font-weight:700>1</span><span style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"sort_keys"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#000;font-weight:700>[</span>
</span></span><span style=display:flex><span> <span style=color:#000;font-weight:700>],</span>
@@ -661,7 +661,7 @@
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"ttl"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#0000cf;font-weight:700>86400000</span><span style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"user_data"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#000;font-weight:700>{}</span>
</span></span><span style=display:flex><span><span style=color:#000;font-weight:700>}</span>
-</span></span></code></pre></div><p>另外,当边中带有"创建时间"的属性且希望以"创建时间"属性作为计算边存活时间的起点时,可以设置 EdgeLabel 中的 ttl_start_time 字段。比如 knows EdgeLabel 有 createdTime 属性,且 createdTime 是 Date 类型的参数,希望 knows 类型的边从创建开始存活一天的时间,那么创建 knows EdgeLabel 的 Request Body 如下:</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-json data-lang=json><span style=display:flex><span><span style=color:#000;font-weight:700>{</span>
+</span></span></code></pre></div><p>Additionally, when the edge has a property called “createdTime” and you want to use the “createdTime” property as the starting point for calculating the edge’s lifespan, you can set the ttl_start_time field in the EdgeLabel. For example, if the knows EdgeLabel has a property called “createdTime” which is of type Date, and you want the “knows” type of edge to live for one day from the time of creatio [...]
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"id"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#0000cf;font-weight:700>1</span><span style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"sort_keys"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#000;font-weight:700>[</span>
</span></span><span style=display:flex><span> <span style=color:#000;font-weight:700>],</span>
@@ -682,7 +682,7 @@
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"ttl_start_time"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#4e9a06>"createdTime"</span><span style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"user_data"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#000;font-weight:700>{}</span>
</span></span><span style=display:flex><span><span style=color:#000;font-weight:700>}</span>
-</span></span></code></pre></div><h4 id=142-为已存在的edgelabel添加properties或userdata或者移除userdata目前不支持移除properties>1.4.2 为已存在的EdgeLabel添加properties或userdata,或者移除userdata(目前不支持移除properties)</h4><h5 id=params>Params</h5><ul><li>action: 表示当前行为是添加还是移除,取值为<code>append</code>(添加)和<code>eliminate</code>(移除)</li></ul><h5 id=method--url-1>Method & Url</h5><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-fallback data-lang= [...]
+</span></span></code></pre></div><h4 id=142-add-properties-or-userdata-to-an-existing-edgelabel-or-remove-userdata-removing-properties-is-currently-not-supported>1.4.2 Add properties or userdata to an existing EdgeLabel, or remove userdata (removing properties is currently not supported)</h4><h5 id=params>Params</h5><ul><li>action: Indicates whether the current action is to add or remove, with values <code>append</code> (add) and <code>eliminate</code> (remove).</li></ul><h5 id=method--u [...]
</span></span></code></pre></div><h5 id=request-body-1>Request Body</h5><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-json data-lang=json><span style=display:flex><span><span style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"name"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#4e9a06>"created"</span><span style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"properties"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#000;font-weight:700>[</span>
@@ -713,7 +713,7 @@
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"enable_label_index"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#204a87;font-weight:700>true</span><span style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"user_data"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#000;font-weight:700>{}</span>
</span></span><span style=display:flex><span><span style=color:#000;font-weight:700>}</span>
-</span></span></code></pre></div><h4 id=143-获取所有的edgelabel>1.4.3 获取所有的EdgeLabel</h4><h5 id=method--url-2>Method & Url</h5><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-fallback data-lang=fallback><span style=display:flex><span>GET http://localhost:8080/graphs/hugegraph/schema/edgelabels
+</span></span></code></pre></div><h4 id=143-get-all-edgelabels>1.4.3 Get all EdgeLabels</h4><h5 id=method--url-2>Method & Url</h5><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-fallback data-lang=fallback><span style=display:flex><span>GET http://localhost:8080/graphs/hugegraph/schema/edgelabels
</span></span></code></pre></div><h5 id=response-status-2>Response Status</h5><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-json data-lang=json><span style=display:flex><span><span style=color:#0000cf;font-weight:700>200</span>
</span></span></code></pre></div><h5 id=response-body-2>Response Body</h5><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-json data-lang=json><span style=display:flex><span><span style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"edgelabels"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#000;font-weight:700>[</span>
@@ -758,7 +758,7 @@
</span></span><span style=display:flex><span> <span style=color:#000;font-weight:700>}</span>
</span></span><span style=display:flex><span> <span style=color:#000;font-weight:700>]</span>
</span></span><span style=display:flex><span><span style=color:#000;font-weight:700>}</span>
-</span></span></code></pre></div><h4 id=144-根据name获取edgelabel>1.4.4 根据name获取EdgeLabel</h4><h5 id=method--url-3>Method & Url</h5><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-fallback data-lang=fallback><span style=display:flex><span>GET http://localhost:8080/graphs/hugegraph/schema/edgelabels/created
+</span></span></code></pre></div><h4 id=144-get-edgelabel-by-name>1.4.4 Get EdgeLabel by name</h4><h5 id=method--url-3>Method & Url</h5><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-fallback data-lang=fallback><span style=display:flex><span>GET http://localhost:8080/graphs/hugegraph/schema/edgelabels/created
</span></span></code></pre></div><h5 id=response-status-3>Response Status</h5><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-json data-lang=json><span style=display:flex><span><span style=color:#0000cf;font-weight:700>200</span>
</span></span></code></pre></div><h5 id=response-body-3>Response Body</h5><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-json data-lang=json><span style=display:flex><span><span style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"id"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#0000cf;font-weight:700>1</span><span style=color:#000;font-weight:700>,</span>
@@ -782,12 +782,12 @@
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"enable_label_index"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#204a87;font-weight:700>true</span><span style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"user_data"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#000;font-weight:700>{}</span>
</span></span><span style=display:flex><span><span style=color:#000;font-weight:700>}</span>
-</span></span></code></pre></div><h4 id=145-根据name删除edgelabel>1.4.5 根据name删除EdgeLabel</h4><p>删除 EdgeLabel 会导致删除对应的边以及相关的索引数据,会产生一个异步任务</p><h5 id=method--url-4>Method & Url</h5><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-fallback data-lang=fallback><span style=display:flex><span>DELETE http://localhost:8080/graphs/hugegraph/schema/edgelabels/created
+</span></span></code></pre></div><h4 id=145-delete-edgelabel-by-name>1.4.5 Delete EdgeLabel by name</h4><p>Deleting an EdgeLabel will result in the deletion of corresponding edges and related index data. This operation will generate an asynchronous task.</p><h5 id=method--url-4>Method & Url</h5><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-fallback data-lang=fallback><span style=display:flex><span>DELETE [...]
</span></span></code></pre></div><h5 id=response-status-4>Response Status</h5><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-json data-lang=json><span style=display:flex><span><span style=color:#0000cf;font-weight:700>202</span>
</span></span></code></pre></div><h5 id=response-body-4>Response Body</h5><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-json data-lang=json><span style=display:flex><span><span style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"task_id"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#0000cf;font-weight:700>1</span>
</span></span><span style=display:flex><span><span style=color:#000;font-weight:700>}</span>
-</span></span></code></pre></div><p>注:</p><blockquote><p>可以通过<code>GET http://localhost:8080/graphs/hugegraph/tasks/1</code>(其中"1"是task_id)来查询异步任务的执行状态,更多<a href=../task>异步任务RESTful API</a></p></blockquote></div><div class=td-content style=page-break-before:always><h1 id=pg-7099742fb947ad5dfde9e72216c10b8a>5 - IndexLabel API</h1><h3 id=15-indexlabel>1.5 IndexLabel</h3><p>假设已经创建好了1.1.3中的 PropertyKeys 、1.2.3中的 VertexLabels 以及 1.3.3中的 EdgeLabels</p><h4 id=151-创建一个indexlabel>1.5.1 创建一个IndexL [...]
+</span></span></code></pre></div><p>Note:</p><blockquote><p>You can query the execution status of an asynchronous task by using <code>GET http://localhost:8080/graphs/hugegraph/tasks/1</code> (where “1” is the task_id). For more information, refer to the <a href=../task>Asynchronous Task RESTful API</a>.</p></blockquote></div><div class=td-content style=page-break-before:always><h1 id=pg-7099742fb947ad5dfde9e72216c10b8a>5 - IndexLabel API</h1><h3 id=15-indexlabel>1.5 IndexLab [...]
</span></span></code></pre></div><h5 id=request-body>Request Body</h5><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-json data-lang=json><span style=display:flex><span><span style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"name"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#4e9a06>"personByCity"</span><span style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"base_type"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#4e9a06>"VERTEX_LABEL"</span><span style=color:#000;font-weight:700>,</span>
diff --git a/docs/clients/restful-api/edgelabel/index.html b/docs/clients/restful-api/edgelabel/index.html
index dbfea0e7..4cbda282 100644
--- a/docs/clients/restful-api/edgelabel/index.html
+++ b/docs/clients/restful-api/edgelabel/index.html
@@ -1,22 +1,20 @@
<!doctype html><html lang=en class=no-js><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name=generator content="Hugo 0.102.3"><meta name=robots content="index, follow"><link rel="shortcut icon" href=/favicons/favicon.ico><link rel=apple-touch-icon href=/favicons/apple-touch-icon-180x180.png sizes=180x180><link rel=icon type=image/png href=/favicons/favicon-16x16.png sizes=16x16><link rel=icon type=image/png href=/favicons [...]
-假设已经创建好了1.2.3中的 PropertyKeys 和 1.3.3中的 VertexLabels
-Params说明
+Assuming PropertyKeys from version 1.2.3 and VertexLabels from version 1.3.3 have already been created.
+Params Explanation
-name:顶点类型名称,必填
-source_label: 源顶点类型的名称,必填
-target_label: 目标顶点类型的名称, …"><meta property="og:title" content="EdgeLabel API"><meta property="og:description" content="1.4 EdgeLabel 假设已经创建好了1.2.3中的 PropertyKeys 和 1.3.3中的 VertexLabels
-Params说明
-name:顶点类型名称,必填 source_label: 源顶点类型的名称,必填 target_label: 目标顶点类型的名称,必填 frequency:两个点之间是否可以有多条边,可以取值SINGLE和MULTIPLE,非必填,默认值SINGLE properties: 边类型关联的属性类型,选填 sort_keys: 当允许关联多次时,指定区分键属性列表 nullable_keys:可为空的属性,选填,默认可为空 enable_label_index: 是否开启类型索引,默认关闭 1.4.1 创建一个EdgeLabel Method & Url POST http://localhost:8080/graphs/hugegraph/schema/edgelabels Request Body { "name": "created", "source_label": "person", "target_label": "software", "frequency& [...]
-Params说明
-name:顶点类型名称,必填 source_label: 源顶点类型的名称,必填 target_label: 目标顶点类型的名称,必填 frequency:两个点之间是否可以有多条边,可以取值SINGLE和MULTIPLE,非必填,默认值SINGLE properties: 边类型关联的属性类型,选填 sort_keys: 当允许关联多次时,指定区分键属性列表 nullable_keys:可为空的属性,选填,默认可为空 enable_label_index: 是否开启类型索引,默认关闭 1.4.1 创建一个EdgeLabel Method & Url POST http://localhost:8080/graphs/hugegraph/schema/edgelabels Request Body { "name": "created", "source_label": "person", "target_label": "software", "frequency& [...]
-Params说明
-name:顶点类型名称,必填 source_label: 源顶点类型的名称,必填 target_label: 目标顶点类型的名称,必填 frequency:两个点之间是否可以有多条边,可以取值SINGLE和MULTIPLE,非必填,默认值SINGLE properties: 边类型关联的属性类型,选填 sort_keys: 当允许关联多次时,指定区分键属性列表 nullable_keys:可为空的属性,选填,默认可为空 enable_label_index: 是否开启类型索引,默认关闭 1.4.1 创建一个EdgeLabel Method & Url POST http://localhost:8080/graphs/hugegraph/schema/edgelabels Request Body { "name": "created", "source_label": "person", "target_label": "software", "frequency& [...]
+name: Name …"><meta property="og:title" content="EdgeLabel API"><meta property="og:description" content="1.4 EdgeLabel Assuming PropertyKeys from version 1.2.3 and VertexLabels from version 1.3.3 have already been created.
+Params Explanation
+name: Name of the vertex type, required. source_label: Name of the source vertex type, required. target_label: Name of the target vertex type, required. frequency: Whether there can be multiple edges between two points, can have values SINGLE or MULTIPLE, optional (default value: SINGLE). properties: Property types associated with the edge type, optional. sort_keys: Specifies a list of differentiating key properties when multiple associations are allowed."><meta property="og:type" conten [...]
+Params Explanation
+name: Name of the vertex type, required. source_label: Name of the source vertex type, required. target_label: Name of the target vertex type, required. frequency: Whether there can be multiple edges between two points, can have values SINGLE or MULTIPLE, optional (default value: SINGLE). properties: Property types associated with the edge type, optional. sort_keys: Specifies a list of differentiating key properties when multiple associations are allowed."><meta itemprop=dateModified con [...]
+Params Explanation
+name: Name of the vertex type, required. source_label: Name of the source vertex type, required. target_label: Name of the target vertex type, required. frequency: Whether there can be multiple edges between two points, can have values SINGLE or MULTIPLE, optional (default value: SINGLE). properties: Property types associated with the edge type, optional. sort_keys: Specifies a list of differentiating key properties when multiple associations are allowed."><link rel=preload href=/scss/ma [...]
<link rel=stylesheet href=/css/prism.css><script type=application/javascript>var doNotTrack=!1;doNotTrack||(window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)},ga.l=+new Date,ga("create","UA-00000000-0","auto"),ga("send","pageview"))</script><script async src=https://www.google-analytics.com/analytics.js></script></head><body class=td-page><header><nav class="js-navbar-scroll navbar navbar-expand navbar-dark flex-column flex-md-row td-navbar"><a class=navbar-brand href=/><sp [...]
<a href=https://github.com/apache/incubator-hugegraph-doc/edit/master/content/en/docs/clients/restful-api/edgelabel.md class=td-page-meta--edit target=_blank rel=noopener><i class="fa fa-edit fa-fw"></i> Edit this page</a>
<a href="https://github.com/apache/incubator-hugegraph-doc/new/master/content/en/docs/clients/restful-api/edgelabel.md?filename=change-me.md&value=---%0Atitle%3A+%22Long+Page+Title%22%0AlinkTitle%3A+%22Short+Nav+Title%22%0Aweight%3A+100%0Adescription%3A+%3E-%0A+++++Page+description+for+heading+and+indexes.%0A---%0A%0A%23%23+Heading%0A%0AEdit+this+template+to+create+your+new+page.%0A%0A%2A+Give+it+a+good+name%2C+ending+in+%60.md%60+-+e.g.+%60getting-started.md%60%0A%2A+Edit+the+%22front+m [...]
<a href="https://github.com/apache/incubator-hugegraph-doc/issues/new?title=EdgeLabel%20API" class=td-page-meta--issue target=_blank rel=noopener><i class="fab fa-github fa-fw"></i> Create documentation issue</a>
<a href=https://github.com/apache/incubator-hugegraph/issues/new class=td-page-meta--project-issue target=_blank rel=noopener><i class="fas fa-tasks fa-fw"></i> Create project issue</a>
-<a id=print href=/docs/clients/restful-api/_print/><i class="fa fa-print fa-fw"></i> Print entire section</a></div></aside><main class="col-12 col-md-9 col-xl-8 pl-md-5" role=main><nav aria-label=breadcrumb class=td-breadcrumbs><ol class=breadcrumb><li class=breadcrumb-item><a href=/docs/>Documentation</a></li><li class=breadcrumb-item><a href=/docs/clients/>API</a></li><li class=breadcrumb-item><a href=/docs/clients/restful-api/>RESTful API</a></li><li class="breadcrumb-item active" ari [...]
+<a id=print href=/docs/clients/restful-api/_print/><i class="fa fa-print fa-fw"></i> Print entire section</a></div></aside><main class="col-12 col-md-9 col-xl-8 pl-md-5" role=main><nav aria-label=breadcrumb class=td-breadcrumbs><ol class=breadcrumb><li class=breadcrumb-item><a href=/docs/>Documentation</a></li><li class=breadcrumb-item><a href=/docs/clients/>API</a></li><li class=breadcrumb-item><a href=/docs/clients/restful-api/>RESTful API</a></li><li class="breadcrumb-item active" ari [...]
</span></span></code></pre></div><h5 id=request-body>Request Body</h5><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-json data-lang=json><span style=display:flex><span><span style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"name"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#4e9a06>"created"</span><span style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"source_label"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#4e9a06>"person"</span><span style=color:#000;font-weight:700>,</span>
@@ -48,7 +46,7 @@ name:顶点类型名称,必填 source_label: 源顶点类型的名称,必
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"enable_label_index"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#204a87;font-weight:700>true</span><span style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"user_data"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#000;font-weight:700>{}</span>
</span></span><span style=display:flex><span><span style=color:#000;font-weight:700>}</span>
-</span></span></code></pre></div><p>从 hugegraph-server v0.11.2 版本开始支持边的 TTL 功能。边的 TTL 是通过 EdgeLabel 来设置的。比如希望 knows 类型的边存活时间为一天,需要在创建 knows EdgeLabel 的时候将 TTL 字段设置为 86400000,即单位为毫秒。</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-json data-lang=json><span style=display:flex><span><span style=color:#000;font-weight:700>{</span>
+</span></span></code></pre></div><p>Starting from version 0.11.2 of hugegraph-server, the TTL (Time to Live) feature for edges is supported. The TTL for edges is set through EdgeLabel. For example, if you want the “knows” type of edge to have a lifespan of one day, you need to set the TTL field to 86400000 when creating the “knows” EdgeLabel, where the unit is milliseconds.</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-t [...]
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"id"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#0000cf;font-weight:700>1</span><span style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"sort_keys"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#000;font-weight:700>[</span>
</span></span><span style=display:flex><span> <span style=color:#000;font-weight:700>],</span>
@@ -68,7 +66,7 @@ name:顶点类型名称,必填 source_label: 源顶点类型的名称,必
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"ttl"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#0000cf;font-weight:700>86400000</span><span style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"user_data"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#000;font-weight:700>{}</span>
</span></span><span style=display:flex><span><span style=color:#000;font-weight:700>}</span>
-</span></span></code></pre></div><p>另外,当边中带有"创建时间"的属性且希望以"创建时间"属性作为计算边存活时间的起点时,可以设置 EdgeLabel 中的 ttl_start_time 字段。比如 knows EdgeLabel 有 createdTime 属性,且 createdTime 是 Date 类型的参数,希望 knows 类型的边从创建开始存活一天的时间,那么创建 knows EdgeLabel 的 Request Body 如下:</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-json data-lang=json><span style=display:flex><span><span style=color:#000;font-weight:700>{</span>
+</span></span></code></pre></div><p>Additionally, when the edge has a property called “createdTime” and you want to use the “createdTime” property as the starting point for calculating the edge’s lifespan, you can set the ttl_start_time field in the EdgeLabel. For example, if the knows EdgeLabel has a property called “createdTime” which is of type Date, and you want the “knows” type of edge to live for one day from the time of creatio [...]
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"id"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#0000cf;font-weight:700>1</span><span style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"sort_keys"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#000;font-weight:700>[</span>
</span></span><span style=display:flex><span> <span style=color:#000;font-weight:700>],</span>
@@ -89,7 +87,7 @@ name:顶点类型名称,必填 source_label: 源顶点类型的名称,必
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"ttl_start_time"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#4e9a06>"createdTime"</span><span style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"user_data"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#000;font-weight:700>{}</span>
</span></span><span style=display:flex><span><span style=color:#000;font-weight:700>}</span>
-</span></span></code></pre></div><h4 id=142-为已存在的edgelabel添加properties或userdata或者移除userdata目前不支持移除properties>1.4.2 为已存在的EdgeLabel添加properties或userdata,或者移除userdata(目前不支持移除properties)</h4><h5 id=params>Params</h5><ul><li>action: 表示当前行为是添加还是移除,取值为<code>append</code>(添加)和<code>eliminate</code>(移除)</li></ul><h5 id=method--url-1>Method & Url</h5><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-fallback data-lang= [...]
+</span></span></code></pre></div><h4 id=142-add-properties-or-userdata-to-an-existing-edgelabel-or-remove-userdata-removing-properties-is-currently-not-supported>1.4.2 Add properties or userdata to an existing EdgeLabel, or remove userdata (removing properties is currently not supported)</h4><h5 id=params>Params</h5><ul><li>action: Indicates whether the current action is to add or remove, with values <code>append</code> (add) and <code>eliminate</code> (remove).</li></ul><h5 id=method--u [...]
</span></span></code></pre></div><h5 id=request-body-1>Request Body</h5><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-json data-lang=json><span style=display:flex><span><span style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"name"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#4e9a06>"created"</span><span style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"properties"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#000;font-weight:700>[</span>
@@ -120,7 +118,7 @@ name:顶点类型名称,必填 source_label: 源顶点类型的名称,必
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"enable_label_index"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#204a87;font-weight:700>true</span><span style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"user_data"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#000;font-weight:700>{}</span>
</span></span><span style=display:flex><span><span style=color:#000;font-weight:700>}</span>
-</span></span></code></pre></div><h4 id=143-获取所有的edgelabel>1.4.3 获取所有的EdgeLabel</h4><h5 id=method--url-2>Method & Url</h5><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-fallback data-lang=fallback><span style=display:flex><span>GET http://localhost:8080/graphs/hugegraph/schema/edgelabels
+</span></span></code></pre></div><h4 id=143-get-all-edgelabels>1.4.3 Get all EdgeLabels</h4><h5 id=method--url-2>Method & Url</h5><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-fallback data-lang=fallback><span style=display:flex><span>GET http://localhost:8080/graphs/hugegraph/schema/edgelabels
</span></span></code></pre></div><h5 id=response-status-2>Response Status</h5><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-json data-lang=json><span style=display:flex><span><span style=color:#0000cf;font-weight:700>200</span>
</span></span></code></pre></div><h5 id=response-body-2>Response Body</h5><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-json data-lang=json><span style=display:flex><span><span style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"edgelabels"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#000;font-weight:700>[</span>
@@ -165,7 +163,7 @@ name:顶点类型名称,必填 source_label: 源顶点类型的名称,必
</span></span><span style=display:flex><span> <span style=color:#000;font-weight:700>}</span>
</span></span><span style=display:flex><span> <span style=color:#000;font-weight:700>]</span>
</span></span><span style=display:flex><span><span style=color:#000;font-weight:700>}</span>
-</span></span></code></pre></div><h4 id=144-根据name获取edgelabel>1.4.4 根据name获取EdgeLabel</h4><h5 id=method--url-3>Method & Url</h5><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-fallback data-lang=fallback><span style=display:flex><span>GET http://localhost:8080/graphs/hugegraph/schema/edgelabels/created
+</span></span></code></pre></div><h4 id=144-get-edgelabel-by-name>1.4.4 Get EdgeLabel by name</h4><h5 id=method--url-3>Method & Url</h5><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-fallback data-lang=fallback><span style=display:flex><span>GET http://localhost:8080/graphs/hugegraph/schema/edgelabels/created
</span></span></code></pre></div><h5 id=response-status-3>Response Status</h5><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-json data-lang=json><span style=display:flex><span><span style=color:#0000cf;font-weight:700>200</span>
</span></span></code></pre></div><h5 id=response-body-3>Response Body</h5><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-json data-lang=json><span style=display:flex><span><span style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"id"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#0000cf;font-weight:700>1</span><span style=color:#000;font-weight:700>,</span>
@@ -189,12 +187,12 @@ name:顶点类型名称,必填 source_label: 源顶点类型的名称,必
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"enable_label_index"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#204a87;font-weight:700>true</span><span style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"user_data"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#000;font-weight:700>{}</span>
</span></span><span style=display:flex><span><span style=color:#000;font-weight:700>}</span>
-</span></span></code></pre></div><h4 id=145-根据name删除edgelabel>1.4.5 根据name删除EdgeLabel</h4><p>删除 EdgeLabel 会导致删除对应的边以及相关的索引数据,会产生一个异步任务</p><h5 id=method--url-4>Method & Url</h5><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-fallback data-lang=fallback><span style=display:flex><span>DELETE http://localhost:8080/graphs/hugegraph/schema/edgelabels/created
+</span></span></code></pre></div><h4 id=145-delete-edgelabel-by-name>1.4.5 Delete EdgeLabel by name</h4><p>Deleting an EdgeLabel will result in the deletion of corresponding edges and related index data. This operation will generate an asynchronous task.</p><h5 id=method--url-4>Method & Url</h5><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-fallback data-lang=fallback><span style=display:flex><span>DELETE [...]
</span></span></code></pre></div><h5 id=response-status-4>Response Status</h5><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-json data-lang=json><span style=display:flex><span><span style=color:#0000cf;font-weight:700>202</span>
</span></span></code></pre></div><h5 id=response-body-4>Response Body</h5><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-json data-lang=json><span style=display:flex><span><span style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>"task_id"</span><span style=color:#000;font-weight:700>:</span> <span style=color:#0000cf;font-weight:700>1</span>
</span></span><span style=display:flex><span><span style=color:#000;font-weight:700>}</span>
-</span></span></code></pre></div><p>注:</p><blockquote><p>可以通过<code>GET http://localhost:8080/graphs/hugegraph/tasks/1</code>(其中"1"是task_id)来查询异步任务的执行状态,更多<a href=../task>异步任务RESTful API</a></p></blockquote><style>.feedback--answer{display:inline-block}.feedback--answer-no{margin-left:1em}.feedback--response{display:none;margin-top:1em}.feedback--response__visible{display:block}</style><script>const yesButton=document.querySelector(".feedback--answer-yes"),noButton=document.querySelector( [...]
+</span></span></code></pre></div><p>Note:</p><blockquote><p>You can query the execution status of an asynchronous task by using <code>GET http://localhost:8080/graphs/hugegraph/tasks/1</code> (where “1” is the task_id). For more information, refer to the <a href=../task>Asynchronous Task RESTful API</a>.</p></blockquote><style>.feedback--answer{display:inline-block}.feedback--answer-no{margin-left:1em}.feedback--response{display:none;margin-top:1em}.feedback--response__visibl [...]
<script src=https://cdn.jsdelivr.net/npm/bootstrap@4.6.1/dist/js/bootstrap.min.js integrity="sha512-UR25UO94eTnCVwjbXozyeVd6ZqpaAE9naiEUBK/A+QDbfSTQFhPGj5lOR6d8tsgbBk84Ggb5A3EkjsOgPRPcKA==" crossorigin=anonymous></script>
<script src=/js/tabpane-persist.js></script>
<script src=/js/main.min.aa9f4c5dae6a98b2c46277f4c56f1673a2b000d1756ce4ffae93784cab25e6d5.js integrity="sha256-qp9MXa5qmLLEYnf0xW8Wc6KwANF1bOT/rpN4TKsl5tU=" crossorigin=anonymous></script>
diff --git a/docs/clients/restful-api/index.xml b/docs/clients/restful-api/index.xml
index e119167e..835ea6ca 100644
--- a/docs/clients/restful-api/index.xml
+++ b/docs/clients/restful-api/index.xml
@@ -701,19 +701,19 @@
<p>You can use <code>GET http://localhost:8080/graphs/hugegraph/tasks/1</code> (where &ldquo;1&rdquo; is the task_id) to query the execution status of the asynchronous task. For more information, refer to the <a href="../task">Asynchronous Task RESTful API</a>.</p>
</blockquote></description></item><item><title>Docs: EdgeLabel API</title><link>/docs/clients/restful-api/edgelabel/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/docs/clients/restful-api/edgelabel/</guid><description>
<h3 id="14-edgelabel">1.4 EdgeLabel</h3>
-<p>假设已经创建好了1.2.3中的 PropertyKeys 和 1.3.3中的 VertexLabels</p>
-<p>Params说明</p>
-<ul>
-<li>name:顶点类型名称,必填</li>
-<li>source_label: 源顶点类型的名称,必填</li>
-<li>target_label: 目标顶点类型的名称,必填</li>
-<li>frequency:两个点之间是否可以有多条边,可以取值SINGLE和MULTIPLE,非必填,默认值SINGLE</li>
-<li>properties: 边类型关联的属性类型,选填</li>
-<li>sort_keys: 当允许关联多次时,指定区分键属性列表</li>
-<li>nullable_keys:可为空的属性,选填,默认可为空</li>
-<li>enable_label_index: 是否开启类型索引,默认关闭</li>
-</ul>
-<h4 id="141-创建一个edgelabel">1.4.1 创建一个EdgeLabel</h4>
+<p>Assuming PropertyKeys from version 1.2.3 and VertexLabels from version 1.3.3 have already been created.</p>
+<p>Params Explanation</p>
+<ul>
+<li>name: Name of the vertex type, required.</li>
+<li>source_label: Name of the source vertex type, required.</li>
+<li>target_label: Name of the target vertex type, required.</li>
+<li>frequency: Whether there can be multiple edges between two points, can have values SINGLE or MULTIPLE, optional (default value: SINGLE).</li>
+<li>properties: Property types associated with the edge type, optional.</li>
+<li>sort_keys: Specifies a list of differentiating key properties when multiple associations are allowed.</li>
+<li>nullable_keys: Nullable properties, optional (default: nullable).</li>
+<li>enable_label_index: Whether to enable type indexing, disabled by default.</li>
+</ul>
+<h4 id="141-create-an-edgelabel">1.4.1 Create an EdgeLabel</h4>
<h5 id="method--url">Method &amp; Url</h5>
<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-fallback" data-lang="fallback"><span style="display:flex;"><span>POST http://localhost:8080/graphs/hugegraph/schema/edgelabels
</span></span></code></pre></div><h5 id="request-body">Request Body</h5>
@@ -750,7 +750,7 @@
</span></span><span style="display:flex;"><span> <span style="color:#204a87;font-weight:bold">&#34;enable_label_index&#34;</span><span style="color:#000;font-weight:bold">:</span> <span style="color:#204a87;font-weight:bold">true</span><span style="color:#000;font-weight:bold">,</span>
</span></span><span style="display:flex;"><span> <span style="color:#204a87;font-weight:bold">&#34;user_data&#34;</span><span style="color:#000;font-weight:bold">:</span> <span style="color:#000;font-weight:bold">{}</span>
</span></span><span style="display:flex;"><span><span style="color:#000;font-weight:bold">}</span>
-</span></span></code></pre></div><p>从 hugegraph-server v0.11.2 版本开始支持边的 TTL 功能。边的 TTL 是通过 EdgeLabel 来设置的。比如希望 knows 类型的边存活时间为一天,需要在创建 knows EdgeLabel 的时候将 TTL 字段设置为 86400000,即单位为毫秒。</p>
+</span></span></code></pre></div><p>Starting from version 0.11.2 of hugegraph-server, the TTL (Time to Live) feature for edges is supported. The TTL for edges is set through EdgeLabel. For example, if you want the &ldquo;knows&rdquo; type of edge to have a lifespan of one day, you need to set the TTL field to 86400000 when creating the &ldquo;knows&rdquo; EdgeLabel, where the unit is milliseconds.</p>
<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-json" data-lang="json"><span style="display:flex;"><span><span style="color:#000;font-weight:bold">{</span>
</span></span><span style="display:flex;"><span> <span style="color:#204a87;font-weight:bold">&#34;id&#34;</span><span style="color:#000;font-weight:bold">:</span> <span style="color:#0000cf;font-weight:bold">1</span><span style="color:#000;font-weight:bold">,</span>
</span></span><span style="display:flex;"><span> <span style="color:#204a87;font-weight:bold">&#34;sort_keys&#34;</span><span style="color:#000;font-weight:bold">:</span> <span style="color:#000;font-weight:bold">[</span>
@@ -771,7 +771,7 @@
</span></span><span style="display:flex;"><span> <span style="color:#204a87;font-weight:bold">&#34;ttl&#34;</span><span style="color:#000;font-weight:bold">:</span> <span style="color:#0000cf;font-weight:bold">86400000</span><span style="color:#000;font-weight:bold">,</span>
</span></span><span style="display:flex;"><span> <span style="color:#204a87;font-weight:bold">&#34;user_data&#34;</span><span style="color:#000;font-weight:bold">:</span> <span style="color:#000;font-weight:bold">{}</span>
</span></span><span style="display:flex;"><span><span style="color:#000;font-weight:bold">}</span>
-</span></span></code></pre></div><p>另外,当边中带有&quot;创建时间&quot;的属性且希望以&quot;创建时间&quot;属性作为计算边存活时间的起点时,可以设置 EdgeLabel 中的 ttl_start_time 字段。比如 knows EdgeLabel 有 createdTime 属性,且 createdTime 是 Date 类型的参数,希望 knows 类型的边从创建开始存活一天的时间,那么创建 knows EdgeLabel 的 Request Body 如下:</p>
+</span></span></code></pre></div><p>Additionally, when the edge has a property called &ldquo;createdTime&rdquo; and you want to use the &ldquo;createdTime&rdquo; property as the starting point for calculating the edge&rsquo;s lifespan, you can set the ttl_start_time field in the EdgeLabel. For example, if the knows EdgeLabel has a property called &ldquo;createdTime&rdquo; which is of type Date, and you want the &ldquo;knows&rdquo; typ [...]
<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-json" data-lang="json"><span style="display:flex;"><span><span style="color:#000;font-weight:bold">{</span>
</span></span><span style="display:flex;"><span> <span style="color:#204a87;font-weight:bold">&#34;id&#34;</span><span style="color:#000;font-weight:bold">:</span> <span style="color:#0000cf;font-weight:bold">1</span><span style="color:#000;font-weight:bold">,</span>
</span></span><span style="display:flex;"><span> <span style="color:#204a87;font-weight:bold">&#34;sort_keys&#34;</span><span style="color:#000;font-weight:bold">:</span> <span style="color:#000;font-weight:bold">[</span>
@@ -793,10 +793,10 @@
</span></span><span style="display:flex;"><span> <span style="color:#204a87;font-weight:bold">&#34;ttl_start_time&#34;</span><span style="color:#000;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;createdTime&#34;</span><span style="color:#000;font-weight:bold">,</span>
</span></span><span style="display:flex;"><span> <span style="color:#204a87;font-weight:bold">&#34;user_data&#34;</span><span style="color:#000;font-weight:bold">:</span> <span style="color:#000;font-weight:bold">{}</span>
</span></span><span style="display:flex;"><span><span style="color:#000;font-weight:bold">}</span>
-</span></span></code></pre></div><h4 id="142-为已存在的edgelabel添加properties或userdata或者移除userdata目前不支持移除properties">1.4.2 为已存在的EdgeLabel添加properties或userdata,或者移除userdata(目前不支持移除properties)</h4>
+</span></span></code></pre></div><h4 id="142-add-properties-or-userdata-to-an-existing-edgelabel-or-remove-userdata-removing-properties-is-currently-not-supported">1.4.2 Add properties or userdata to an existing EdgeLabel, or remove userdata (removing properties is currently not supported)</h4>
<h5 id="params">Params</h5>
<ul>
-<li>action: 表示当前行为是添加还是移除,取值为<code>append</code>(添加)和<code>eliminate</code>(移除)</li>
+<li>action: Indicates whether the current action is to add or remove, with values <code>append</code> (add) and <code>eliminate</code> (remove).</li>
</ul>
<h5 id="method--url-1">Method &amp; Url</h5>
<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-fallback" data-lang="fallback"><span style="display:flex;"><span>PUT http://localhost:8080/graphs/hugegraph/schema/edgelabels/created?action=append
@@ -833,7 +833,7 @@
</span></span><span style="display:flex;"><span> <span style="color:#204a87;font-weight:bold">&#34;enable_label_index&#34;</span><span style="color:#000;font-weight:bold">:</span> <span style="color:#204a87;font-weight:bold">true</span><span style="color:#000;font-weight:bold">,</span>
</span></span><span style="display:flex;"><span> <span style="color:#204a87;font-weight:bold">&#34;user_data&#34;</span><span style="color:#000;font-weight:bold">:</span> <span style="color:#000;font-weight:bold">{}</span>
</span></span><span style="display:flex;"><span><span style="color:#000;font-weight:bold">}</span>
-</span></span></code></pre></div><h4 id="143-获取所有的edgelabel">1.4.3 获取所有的EdgeLabel</h4>
+</span></span></code></pre></div><h4 id="143-get-all-edgelabels">1.4.3 Get all EdgeLabels</h4>
<h5 id="method--url-2">Method &amp; Url</h5>
<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-fallback" data-lang="fallback"><span style="display:flex;"><span>GET http://localhost:8080/graphs/hugegraph/schema/edgelabels
</span></span></code></pre></div><h5 id="response-status-2">Response Status</h5>
@@ -882,7 +882,7 @@
</span></span><span style="display:flex;"><span> <span style="color:#000;font-weight:bold">}</span>
</span></span><span style="display:flex;"><span> <span style="color:#000;font-weight:bold">]</span>
</span></span><span style="display:flex;"><span><span style="color:#000;font-weight:bold">}</span>
-</span></span></code></pre></div><h4 id="144-根据name获取edgelabel">1.4.4 根据name获取EdgeLabel</h4>
+</span></span></code></pre></div><h4 id="144-get-edgelabel-by-name">1.4.4 Get EdgeLabel by name</h4>
<h5 id="method--url-3">Method &amp; Url</h5>
<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-fallback" data-lang="fallback"><span style="display:flex;"><span>GET http://localhost:8080/graphs/hugegraph/schema/edgelabels/created
</span></span></code></pre></div><h5 id="response-status-3">Response Status</h5>
@@ -910,8 +910,8 @@
</span></span><span style="display:flex;"><span> <span style="color:#204a87;font-weight:bold">&#34;enable_label_index&#34;</span><span style="color:#000;font-weight:bold">:</span> <span style="color:#204a87;font-weight:bold">true</span><span style="color:#000;font-weight:bold">,</span>
</span></span><span style="display:flex;"><span> <span style="color:#204a87;font-weight:bold">&#34;user_data&#34;</span><span style="color:#000;font-weight:bold">:</span> <span style="color:#000;font-weight:bold">{}</span>
</span></span><span style="display:flex;"><span><span style="color:#000;font-weight:bold">}</span>
-</span></span></code></pre></div><h4 id="145-根据name删除edgelabel">1.4.5 根据name删除EdgeLabel</h4>
-<p>删除 EdgeLabel 会导致删除对应的边以及相关的索引数据,会产生一个异步任务</p>
+</span></span></code></pre></div><h4 id="145-delete-edgelabel-by-name">1.4.5 Delete EdgeLabel by name</h4>
+<p>Deleting an EdgeLabel will result in the deletion of corresponding edges and related index data. This operation will generate an asynchronous task.</p>
<h5 id="method--url-4">Method &amp; Url</h5>
<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-fallback" data-lang="fallback"><span style="display:flex;"><span>DELETE http://localhost:8080/graphs/hugegraph/schema/edgelabels/created
</span></span></code></pre></div><h5 id="response-status-4">Response Status</h5>
@@ -920,9 +920,9 @@
<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-json" data-lang="json"><span style="display:flex;"><span><span style="color:#000;font-weight:bold">{</span>
</span></span><span style="display:flex;"><span> <span style="color:#204a87;font-weight:bold">&#34;task_id&#34;</span><span style="color:#000;font-weight:bold">:</span> <span style="color:#0000cf;font-weight:bold">1</span>
</span></span><span style="display:flex;"><span><span style="color:#000;font-weight:bold">}</span>
-</span></span></code></pre></div><p>注:</p>
+</span></span></code></pre></div><p>Note:</p>
<blockquote>
-<p>可以通过<code>GET http://localhost:8080/graphs/hugegraph/tasks/1</code>(其中&quot;1&quot;是task_id)来查询异步任务的执行状态,更多<a href="../task">异步任务RESTful API</a></p>
+<p>You can query the execution status of an asynchronous task by using <code>GET http://localhost:8080/graphs/hugegraph/tasks/1</code> (where &ldquo;1&rdquo; is the task_id). For more information, refer to the <a href="../task">Asynchronous Task RESTful API</a>.</p>
</blockquote></description></item><item><title>Docs: IndexLabel API</title><link>/docs/clients/restful-api/indexlabel/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/docs/clients/restful-api/indexlabel/</guid><description>
<h3 id="15-indexlabel">1.5 IndexLabel</h3>
<p>假设已经创建好了1.1.3中的 PropertyKeys 、1.2.3中的 VertexLabels 以及 1.3.3中的 EdgeLabels</p>
diff --git a/docs/index.xml b/docs/index.xml
index 8161d2f4..c2ed8f32 100644
--- a/docs/index.xml
+++ b/docs/index.xml
@@ -8109,19 +8109,19 @@ Merging mode as needed, and when the Restore is completed, restore the graph mod
<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span>keytool -import -alias serverkey -file server.crt -keystore client.truststore
</span></span></code></pre></div><p><code>client.truststore</code> is for the client&rsquo;s use and contains the trusted certificate.</p></description></item><item><title>Docs: EdgeLabel API</title><link>/docs/clients/restful-api/edgelabel/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/docs/clients/restful-api/edgelabel/</guid><description>
<h3 id="14-edgelabel">1.4 EdgeLabel</h3>
-<p>假设已经创建好了1.2.3中的 PropertyKeys 和 1.3.3中的 VertexLabels</p>
-<p>Params说明</p>
-<ul>
-<li>name:顶点类型名称,必填</li>
-<li>source_label: 源顶点类型的名称,必填</li>
-<li>target_label: 目标顶点类型的名称,必填</li>
-<li>frequency:两个点之间是否可以有多条边,可以取值SINGLE和MULTIPLE,非必填,默认值SINGLE</li>
-<li>properties: 边类型关联的属性类型,选填</li>
-<li>sort_keys: 当允许关联多次时,指定区分键属性列表</li>
-<li>nullable_keys:可为空的属性,选填,默认可为空</li>
-<li>enable_label_index: 是否开启类型索引,默认关闭</li>
-</ul>
-<h4 id="141-创建一个edgelabel">1.4.1 创建一个EdgeLabel</h4>
+<p>Assuming PropertyKeys from version 1.2.3 and VertexLabels from version 1.3.3 have already been created.</p>
+<p>Params Explanation</p>
+<ul>
+<li>name: Name of the vertex type, required.</li>
+<li>source_label: Name of the source vertex type, required.</li>
+<li>target_label: Name of the target vertex type, required.</li>
+<li>frequency: Whether there can be multiple edges between two points, can have values SINGLE or MULTIPLE, optional (default value: SINGLE).</li>
+<li>properties: Property types associated with the edge type, optional.</li>
+<li>sort_keys: Specifies a list of differentiating key properties when multiple associations are allowed.</li>
+<li>nullable_keys: Nullable properties, optional (default: nullable).</li>
+<li>enable_label_index: Whether to enable type indexing, disabled by default.</li>
+</ul>
+<h4 id="141-create-an-edgelabel">1.4.1 Create an EdgeLabel</h4>
<h5 id="method--url">Method &amp; Url</h5>
<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-fallback" data-lang="fallback"><span style="display:flex;"><span>POST http://localhost:8080/graphs/hugegraph/schema/edgelabels
</span></span></code></pre></div><h5 id="request-body">Request Body</h5>
@@ -8158,7 +8158,7 @@ Merging mode as needed, and when the Restore is completed, restore the graph mod
</span></span><span style="display:flex;"><span> <span style="color:#204a87;font-weight:bold">&#34;enable_label_index&#34;</span><span style="color:#000;font-weight:bold">:</span> <span style="color:#204a87;font-weight:bold">true</span><span style="color:#000;font-weight:bold">,</span>
</span></span><span style="display:flex;"><span> <span style="color:#204a87;font-weight:bold">&#34;user_data&#34;</span><span style="color:#000;font-weight:bold">:</span> <span style="color:#000;font-weight:bold">{}</span>
</span></span><span style="display:flex;"><span><span style="color:#000;font-weight:bold">}</span>
-</span></span></code></pre></div><p>从 hugegraph-server v0.11.2 版本开始支持边的 TTL 功能。边的 TTL 是通过 EdgeLabel 来设置的。比如希望 knows 类型的边存活时间为一天,需要在创建 knows EdgeLabel 的时候将 TTL 字段设置为 86400000,即单位为毫秒。</p>
+</span></span></code></pre></div><p>Starting from version 0.11.2 of hugegraph-server, the TTL (Time to Live) feature for edges is supported. The TTL for edges is set through EdgeLabel. For example, if you want the &ldquo;knows&rdquo; type of edge to have a lifespan of one day, you need to set the TTL field to 86400000 when creating the &ldquo;knows&rdquo; EdgeLabel, where the unit is milliseconds.</p>
<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-json" data-lang="json"><span style="display:flex;"><span><span style="color:#000;font-weight:bold">{</span>
</span></span><span style="display:flex;"><span> <span style="color:#204a87;font-weight:bold">&#34;id&#34;</span><span style="color:#000;font-weight:bold">:</span> <span style="color:#0000cf;font-weight:bold">1</span><span style="color:#000;font-weight:bold">,</span>
</span></span><span style="display:flex;"><span> <span style="color:#204a87;font-weight:bold">&#34;sort_keys&#34;</span><span style="color:#000;font-weight:bold">:</span> <span style="color:#000;font-weight:bold">[</span>
@@ -8179,7 +8179,7 @@ Merging mode as needed, and when the Restore is completed, restore the graph mod
</span></span><span style="display:flex;"><span> <span style="color:#204a87;font-weight:bold">&#34;ttl&#34;</span><span style="color:#000;font-weight:bold">:</span> <span style="color:#0000cf;font-weight:bold">86400000</span><span style="color:#000;font-weight:bold">,</span>
</span></span><span style="display:flex;"><span> <span style="color:#204a87;font-weight:bold">&#34;user_data&#34;</span><span style="color:#000;font-weight:bold">:</span> <span style="color:#000;font-weight:bold">{}</span>
</span></span><span style="display:flex;"><span><span style="color:#000;font-weight:bold">}</span>
-</span></span></code></pre></div><p>另外,当边中带有&quot;创建时间&quot;的属性且希望以&quot;创建时间&quot;属性作为计算边存活时间的起点时,可以设置 EdgeLabel 中的 ttl_start_time 字段。比如 knows EdgeLabel 有 createdTime 属性,且 createdTime 是 Date 类型的参数,希望 knows 类型的边从创建开始存活一天的时间,那么创建 knows EdgeLabel 的 Request Body 如下:</p>
+</span></span></code></pre></div><p>Additionally, when the edge has a property called &ldquo;createdTime&rdquo; and you want to use the &ldquo;createdTime&rdquo; property as the starting point for calculating the edge&rsquo;s lifespan, you can set the ttl_start_time field in the EdgeLabel. For example, if the knows EdgeLabel has a property called &ldquo;createdTime&rdquo; which is of type Date, and you want the &ldquo;knows&rdquo; typ [...]
<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-json" data-lang="json"><span style="display:flex;"><span><span style="color:#000;font-weight:bold">{</span>
</span></span><span style="display:flex;"><span> <span style="color:#204a87;font-weight:bold">&#34;id&#34;</span><span style="color:#000;font-weight:bold">:</span> <span style="color:#0000cf;font-weight:bold">1</span><span style="color:#000;font-weight:bold">,</span>
</span></span><span style="display:flex;"><span> <span style="color:#204a87;font-weight:bold">&#34;sort_keys&#34;</span><span style="color:#000;font-weight:bold">:</span> <span style="color:#000;font-weight:bold">[</span>
@@ -8201,10 +8201,10 @@ Merging mode as needed, and when the Restore is completed, restore the graph mod
</span></span><span style="display:flex;"><span> <span style="color:#204a87;font-weight:bold">&#34;ttl_start_time&#34;</span><span style="color:#000;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;createdTime&#34;</span><span style="color:#000;font-weight:bold">,</span>
</span></span><span style="display:flex;"><span> <span style="color:#204a87;font-weight:bold">&#34;user_data&#34;</span><span style="color:#000;font-weight:bold">:</span> <span style="color:#000;font-weight:bold">{}</span>
</span></span><span style="display:flex;"><span><span style="color:#000;font-weight:bold">}</span>
-</span></span></code></pre></div><h4 id="142-为已存在的edgelabel添加properties或userdata或者移除userdata目前不支持移除properties">1.4.2 为已存在的EdgeLabel添加properties或userdata,或者移除userdata(目前不支持移除properties)</h4>
+</span></span></code></pre></div><h4 id="142-add-properties-or-userdata-to-an-existing-edgelabel-or-remove-userdata-removing-properties-is-currently-not-supported">1.4.2 Add properties or userdata to an existing EdgeLabel, or remove userdata (removing properties is currently not supported)</h4>
<h5 id="params">Params</h5>
<ul>
-<li>action: 表示当前行为是添加还是移除,取值为<code>append</code>(添加)和<code>eliminate</code>(移除)</li>
+<li>action: Indicates whether the current action is to add or remove, with values <code>append</code> (add) and <code>eliminate</code> (remove).</li>
</ul>
<h5 id="method--url-1">Method &amp; Url</h5>
<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-fallback" data-lang="fallback"><span style="display:flex;"><span>PUT http://localhost:8080/graphs/hugegraph/schema/edgelabels/created?action=append
@@ -8241,7 +8241,7 @@ Merging mode as needed, and when the Restore is completed, restore the graph mod
</span></span><span style="display:flex;"><span> <span style="color:#204a87;font-weight:bold">&#34;enable_label_index&#34;</span><span style="color:#000;font-weight:bold">:</span> <span style="color:#204a87;font-weight:bold">true</span><span style="color:#000;font-weight:bold">,</span>
</span></span><span style="display:flex;"><span> <span style="color:#204a87;font-weight:bold">&#34;user_data&#34;</span><span style="color:#000;font-weight:bold">:</span> <span style="color:#000;font-weight:bold">{}</span>
</span></span><span style="display:flex;"><span><span style="color:#000;font-weight:bold">}</span>
-</span></span></code></pre></div><h4 id="143-获取所有的edgelabel">1.4.3 获取所有的EdgeLabel</h4>
+</span></span></code></pre></div><h4 id="143-get-all-edgelabels">1.4.3 Get all EdgeLabels</h4>
<h5 id="method--url-2">Method &amp; Url</h5>
<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-fallback" data-lang="fallback"><span style="display:flex;"><span>GET http://localhost:8080/graphs/hugegraph/schema/edgelabels
</span></span></code></pre></div><h5 id="response-status-2">Response Status</h5>
@@ -8290,7 +8290,7 @@ Merging mode as needed, and when the Restore is completed, restore the graph mod
</span></span><span style="display:flex;"><span> <span style="color:#000;font-weight:bold">}</span>
</span></span><span style="display:flex;"><span> <span style="color:#000;font-weight:bold">]</span>
</span></span><span style="display:flex;"><span><span style="color:#000;font-weight:bold">}</span>
-</span></span></code></pre></div><h4 id="144-根据name获取edgelabel">1.4.4 根据name获取EdgeLabel</h4>
+</span></span></code></pre></div><h4 id="144-get-edgelabel-by-name">1.4.4 Get EdgeLabel by name</h4>
<h5 id="method--url-3">Method &amp; Url</h5>
<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-fallback" data-lang="fallback"><span style="display:flex;"><span>GET http://localhost:8080/graphs/hugegraph/schema/edgelabels/created
</span></span></code></pre></div><h5 id="response-status-3">Response Status</h5>
@@ -8318,8 +8318,8 @@ Merging mode as needed, and when the Restore is completed, restore the graph mod
</span></span><span style="display:flex;"><span> <span style="color:#204a87;font-weight:bold">&#34;enable_label_index&#34;</span><span style="color:#000;font-weight:bold">:</span> <span style="color:#204a87;font-weight:bold">true</span><span style="color:#000;font-weight:bold">,</span>
</span></span><span style="display:flex;"><span> <span style="color:#204a87;font-weight:bold">&#34;user_data&#34;</span><span style="color:#000;font-weight:bold">:</span> <span style="color:#000;font-weight:bold">{}</span>
</span></span><span style="display:flex;"><span><span style="color:#000;font-weight:bold">}</span>
-</span></span></code></pre></div><h4 id="145-根据name删除edgelabel">1.4.5 根据name删除EdgeLabel</h4>
-<p>删除 EdgeLabel 会导致删除对应的边以及相关的索引数据,会产生一个异步任务</p>
+</span></span></code></pre></div><h4 id="145-delete-edgelabel-by-name">1.4.5 Delete EdgeLabel by name</h4>
+<p>Deleting an EdgeLabel will result in the deletion of corresponding edges and related index data. This operation will generate an asynchronous task.</p>
<h5 id="method--url-4">Method &amp; Url</h5>
<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-fallback" data-lang="fallback"><span style="display:flex;"><span>DELETE http://localhost:8080/graphs/hugegraph/schema/edgelabels/created
</span></span></code></pre></div><h5 id="response-status-4">Response Status</h5>
@@ -8328,9 +8328,9 @@ Merging mode as needed, and when the Restore is completed, restore the graph mod
<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-json" data-lang="json"><span style="display:flex;"><span><span style="color:#000;font-weight:bold">{</span>
</span></span><span style="display:flex;"><span> <span style="color:#204a87;font-weight:bold">&#34;task_id&#34;</span><span style="color:#000;font-weight:bold">:</span> <span style="color:#0000cf;font-weight:bold">1</span>
</span></span><span style="display:flex;"><span><span style="color:#000;font-weight:bold">}</span>
-</span></span></code></pre></div><p>注:</p>
+</span></span></code></pre></div><p>Note:</p>
<blockquote>
-<p>可以通过<code>GET http://localhost:8080/graphs/hugegraph/tasks/1</code>(其中&quot;1&quot;是task_id)来查询异步任务的执行状态,更多<a href="../task">异步任务RESTful API</a></p>
+<p>You can query the execution status of an asynchronous task by using <code>GET http://localhost:8080/graphs/hugegraph/tasks/1</code> (where &ldquo;1&rdquo; is the task_id). For more information, refer to the <a href="../task">Asynchronous Task RESTful API</a>.</p>
</blockquote></description></item><item><title>Docs: v0.2</title><link>/docs/performance/api-preformance/hugegraph-api-0.2/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/docs/performance/api-preformance/hugegraph-api-0.2/</guid><description>
<h3 id="1-test-environment">1 Test environment</h3>
<h4 id="11-software-and-hardware-information">1.1 Software and hardware information</h4>
diff --git a/en/index.html b/en/index.html
index 2b641798..017c4d50 100644
--- a/en/index.html
+++ b/en/index.html
@@ -1 +1 @@
-<!doctype html><html lang=en><head><title>/</title><link rel=canonical href=/><meta name=robots content="noindex"><meta charset=utf-8><meta http-equiv=refresh content="0; url=/"></head></html>
\ No newline at end of file
+<!doctype html><html lang=cn><head><title>/</title><link rel=canonical href=/><meta name=robots content="noindex"><meta charset=utf-8><meta http-equiv=refresh content="0; url=/"></head></html>
\ No newline at end of file
diff --git a/en/sitemap.xml b/en/sitemap.xml
index 43f6845d..56fd2e37 100644
--- a/en/sitemap.xml
+++ b/en/sitemap.xml
@@ -1 +1 @@
-<?xml version="1.0" encoding="utf-8" standalone="yes"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml"><url><loc>/docs/guides/architectural/</loc><lastmod>2023-05-12T23:46:05-05:00</lastmod><xhtml:link rel="alternate" hreflang="cn" href="/cn/docs/guides/architectural/"/><xhtml:link rel="alternate" hreflang="en" href="/docs/guides/architectural/"/></url><url><loc>/docs/config/config-guide/</loc><lastmod>2023-05-19T05:04:03-05:00</last [...]
\ No newline at end of file
+<?xml version="1.0" encoding="utf-8" standalone="yes"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml"><url><loc>/docs/guides/architectural/</loc><lastmod>2023-05-12T23:46:05-05:00</lastmod><xhtml:link rel="alternate" hreflang="cn" href="/cn/docs/guides/architectural/"/><xhtml:link rel="alternate" hreflang="en" href="/docs/guides/architectural/"/></url><url><loc>/docs/config/config-guide/</loc><lastmod>2023-05-19T05:04:03-05:00</last [...]
\ No newline at end of file
diff --git a/sitemap.xml b/sitemap.xml
index 75506410..fdd6738a 100644
--- a/sitemap.xml
+++ b/sitemap.xml
@@ -1 +1 @@
-<?xml version="1.0" encoding="utf-8" standalone="yes"?><sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>/en/sitemap.xml</loc><lastmod>2023-05-19T05:15:56-05:00</lastmod></sitemap><sitemap><loc>/cn/sitemap.xml</loc><lastmod>2023-05-19T05:15:56-05:00</lastmod></sitemap></sitemapindex>
\ No newline at end of file
+<?xml version="1.0" encoding="utf-8" standalone="yes"?><sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>/cn/sitemap.xml</loc><lastmod>2023-05-19T05:15:56-05:00</lastmod></sitemap><sitemap><loc>/en/sitemap.xml</loc><lastmod>2023-05-19T05:17:26-05:00</lastmod></sitemap></sitemapindex>
\ No newline at end of file