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 37f44637 refine rest-server.property documentation (#368)
6f240806b7ae1907ce51c48f815de708e1e9a037
37f44637 is described below
commit 37f44637c1dde64bec1e45e146900aa75f728c75
Author: imbajin <[email protected]>
AuthorDate: Fri Aug 2 07:51:15 2024 +0000
refine rest-server.property documentation (#368)
6f240806b7ae1907ce51c48f815de708e1e9a037
---
cn/docs/_print/index.html | 3 ++-
cn/docs/config/_print/index.html | 3 ++-
cn/docs/config/config-guide/index.html | 9 +++++----
cn/docs/config/index.xml | 3 ++-
cn/docs/index.xml | 3 ++-
cn/sitemap.xml | 2 +-
docs/_print/index.html | 3 ++-
docs/config/_print/index.html | 3 ++-
docs/config/config-guide/index.html | 9 +++++----
docs/config/index.xml | 3 ++-
docs/index.xml | 3 ++-
en/sitemap.xml | 2 +-
sitemap.xml | 2 +-
13 files changed, 29 insertions(+), 19 deletions(-)
diff --git a/cn/docs/_print/index.html b/cn/docs/_print/index.html
index ba51168a..ad0358aa 100644
--- a/cn/docs/_print/index.html
+++ b/cn/docs/_print/index.html
@@ -1731,6 +1731,7 @@ HugeGraph Toolchain
版本:toolchain-1.0.0</p></blockquote><p><code>spark-load
</span></span></span></code></pre></div><p>上面的配置项很多,但目前只需要关注如下几个配置项:channelizer
和 graphs。</p><ul><li>graphs:GremlinServer 启动时需要打开的图,该项是一个 map 结构,key
是图的名字,value 是该图的配置文件路径;</li><li>channelizer:GremlinServer 与客户端有两种通信方式,分别是
WebSocket 和 HTTP(默认)。如果选择 WebSocket,
用户可以通过 <a href=/clients/gremlin-console.html>Gremlin-Console</a> 快速体验
HugeGraph 的特性,但是不支持大规模数据导入,
推荐使用 HTTP 的通信方式,HugeGraph 的外围组件都是基于 HTTP 实现的;</li></ul><p>默认 GremlinServer
是服务在 localhost:8182,如果需要修改,配置 host、port 即可</p><ul><li>host:部署 GremlinServer
机器的机器名或 IP,目前 HugeGraphServer 不支持分布式部署,且 GremlinServer
不直接暴露给用户;</li><li>port:部署 GremlinServer 机器的端口;</li></ul><p>同时需要在
rest-server.properties 中增加对应的配置项 gremlinserver.url=http://host:port</p><h3
id=3-rest-serverproperties>3
rest-server.properties</h3><p>rest-server.properties 文件的默认内容如下:</p><div
class=highlight><pre tabindex=0 style=backgro [...]
+</span></span><span style=display:flex><span># could use '0.0.0.0' or
specified (real)IP to expose external network access
</span></span><span
style=display:flex><span>restserver.url=http://127.0.0.1:8080
</span></span><span style=display:flex><span># gremlin server url, need to be
consistent with host and port in gremlin-server.yaml
</span></span><span
style=display:flex><span>#gremlinserver.url=http://127.0.0.1:8182
@@ -1745,7 +1746,7 @@ HugeGraph Toolchain
版本:toolchain-1.0.0</p></blockquote><p><code>spark-load
</span></span><span style=display:flex><span>
</span></span><span style=display:flex><span>server.id=server-1
</span></span><span style=display:flex><span>server.role=master
-</span></span></code></pre></div><ul><li>restserver.url:RestServer 提供服务的
url,根据实际环境修改;</li><li>graphs:RestServer 启动时也需要打开图,该项为 map 结构,key 是图的名字,value
是该图的配置文件路径;</li></ul><blockquote><p>注意:gremlin-server.yaml 和
rest-server.properties 都包含 graphs 配置项,而 <code>init-store</code> 命令是根据
gremlin-server.yaml 的 graphs 下的图进行初始化的。</p></blockquote><blockquote><p>配置项
gremlinserver.url 是 GremlinServer 为 RestServer 提供服务的 url,该配置项默认为
http://localhost:8182,如需修改,需要和 gremlin-server.yaml 中的 host 和 port 相匹配;< [...]
+</span></span></code></pre></div><ul><li>restserver.url:RestServer 提供服务的
url,根据实际环境修改。如果其他 IP 地址无法访问,可以尝试修改为特定的地址;或修改为 <code>http://0.0.0.0</code>
来监听来自任何 IP 地址的请求,这种方案较为便捷,但需要留意服务可被访问的网络范围;</li><li>graphs:RestServer
启动时也需要打开图,该项为 map 结构,key 是图的名字,value
是该图的配置文件路径;</li></ul><blockquote><p>注意:gremlin-server.yaml 和
rest-server.properties 都包含 graphs 配置项,而 <code>init-store</code> 命令是根据
gremlin-server.yaml 的 graphs 下的图进行初始化的。</p></blockquote><blockquote><p>配置项
gremlinserver.url 是 GremlinServe [...]
</span></span><span
style=display:flex><span>gremlin.graph=org.apache.hugegraph.HugeFactory
</span></span><span style=display:flex><span>
</span></span><span style=display:flex><span># cache config
diff --git a/cn/docs/config/_print/index.html b/cn/docs/config/_print/index.html
index 2b68d56f..5862fe19 100644
--- a/cn/docs/config/_print/index.html
+++ b/cn/docs/config/_print/index.html
@@ -113,6 +113,7 @@
</span></span></span></code></pre></div><p>上面的配置项很多,但目前只需要关注如下几个配置项:channelizer
和 graphs。</p><ul><li>graphs:GremlinServer 启动时需要打开的图,该项是一个 map 结构,key
是图的名字,value 是该图的配置文件路径;</li><li>channelizer:GremlinServer 与客户端有两种通信方式,分别是
WebSocket 和 HTTP(默认)。如果选择 WebSocket,
用户可以通过 <a href=/clients/gremlin-console.html>Gremlin-Console</a> 快速体验
HugeGraph 的特性,但是不支持大规模数据导入,
推荐使用 HTTP 的通信方式,HugeGraph 的外围组件都是基于 HTTP 实现的;</li></ul><p>默认 GremlinServer
是服务在 localhost:8182,如果需要修改,配置 host、port 即可</p><ul><li>host:部署 GremlinServer
机器的机器名或 IP,目前 HugeGraphServer 不支持分布式部署,且 GremlinServer
不直接暴露给用户;</li><li>port:部署 GremlinServer 机器的端口;</li></ul><p>同时需要在
rest-server.properties 中增加对应的配置项 gremlinserver.url=http://host:port</p><h3
id=3-rest-serverproperties>3
rest-server.properties</h3><p>rest-server.properties 文件的默认内容如下:</p><div
class=highlight><pre tabindex=0 style=backgro [...]
+</span></span><span style=display:flex><span># could use '0.0.0.0' or
specified (real)IP to expose external network access
</span></span><span
style=display:flex><span>restserver.url=http://127.0.0.1:8080
</span></span><span style=display:flex><span># gremlin server url, need to be
consistent with host and port in gremlin-server.yaml
</span></span><span
style=display:flex><span>#gremlinserver.url=http://127.0.0.1:8182
@@ -127,7 +128,7 @@
</span></span><span style=display:flex><span>
</span></span><span style=display:flex><span>server.id=server-1
</span></span><span style=display:flex><span>server.role=master
-</span></span></code></pre></div><ul><li>restserver.url:RestServer 提供服务的
url,根据实际环境修改;</li><li>graphs:RestServer 启动时也需要打开图,该项为 map 结构,key 是图的名字,value
是该图的配置文件路径;</li></ul><blockquote><p>注意:gremlin-server.yaml 和
rest-server.properties 都包含 graphs 配置项,而 <code>init-store</code> 命令是根据
gremlin-server.yaml 的 graphs 下的图进行初始化的。</p></blockquote><blockquote><p>配置项
gremlinserver.url 是 GremlinServer 为 RestServer 提供服务的 url,该配置项默认为
http://localhost:8182,如需修改,需要和 gremlin-server.yaml 中的 host 和 port 相匹配;< [...]
+</span></span></code></pre></div><ul><li>restserver.url:RestServer 提供服务的
url,根据实际环境修改。如果其他 IP 地址无法访问,可以尝试修改为特定的地址;或修改为 <code>http://0.0.0.0</code>
来监听来自任何 IP 地址的请求,这种方案较为便捷,但需要留意服务可被访问的网络范围;</li><li>graphs:RestServer
启动时也需要打开图,该项为 map 结构,key 是图的名字,value
是该图的配置文件路径;</li></ul><blockquote><p>注意:gremlin-server.yaml 和
rest-server.properties 都包含 graphs 配置项,而 <code>init-store</code> 命令是根据
gremlin-server.yaml 的 graphs 下的图进行初始化的。</p></blockquote><blockquote><p>配置项
gremlinserver.url 是 GremlinServe [...]
</span></span><span
style=display:flex><span>gremlin.graph=org.apache.hugegraph.HugeFactory
</span></span><span style=display:flex><span>
</span></span><span style=display:flex><span># cache config
diff --git a/cn/docs/config/config-guide/index.html
b/cn/docs/config/config-guide/index.html
index 17d2e848..c69b8b1c 100644
--- a/cn/docs/config/config-guide/index.html
+++ b/cn/docs/config/config-guide/index.html
@@ -6,12 +6,12 @@ HugeGraphServer …"><meta property="og:title"
content="HugeGraph 配置"><meta
HugeGraphServer 内部集成了 GremlinServer 和 RestServer,而 gremlin-server.yaml 和
rest-server.properties 就是用来配置这两个 Server 的。
GremlinServer:GremlinServer 接受用户的 gremlin 语句,解析后转而调用 Core 的代码。 RestServer:提供
RESTful API,根据不同的 HTTP 请求,调用对应的 Core API,如果用户请求体是 gremlin 语句,则会转发给
GremlinServer,实现对图数据的操作。 下面对这三个配置文件逐一介绍。
2 gremlin-server.yaml gremlin-server.yaml 文件默认的内容如下:
-# host and port of gremlin server, need to be consistent with host and port in
rest-server.properties #host: 127.0.0.1 #port: 8182 # Gremlin 查询中的超时时间(以毫秒为单位)
evaluationTimeout: 30000 channelizer:
org.apache.tinkerpop.gremlin.server.channel.WsAndHttpChannelizer #
不要在此处设置图形,此功能将在支持动态添加图形后再进行处理 graphs: { } scriptEngines: { gremlin-groovy: {
staticImports: [ org."><meta property="og:type" content="article"><meta
property="og:url" content="/cn/docs/config/config-guide/"><meta
property="articl [...]
+# host and port of gremlin server, need to be consistent with host and port in
rest-server.properties #host: 127.0.0.1 #port: 8182 # Gremlin 查询中的超时时间(以毫秒为单位)
evaluationTimeout: 30000 channelizer:
org.apache.tinkerpop.gremlin.server.channel.WsAndHttpChannelizer #
不要在此处设置图形,此功能将在支持动态添加图形后再进行处理 graphs: { } scriptEngines: { gremlin-groovy: {
staticImports: [ org."><meta property="og:type" content="article"><meta
property="og:url" content="/cn/docs/config/config-guide/"><meta
property="articl [...]
主要的配置文件包括:gremlin-server.yaml、rest-server.properties 和 hugegraph.properties
HugeGraphServer 内部集成了 GremlinServer 和 RestServer,而 gremlin-server.yaml 和
rest-server.properties 就是用来配置这两个 Server 的。
GremlinServer:GremlinServer 接受用户的 gremlin 语句,解析后转而调用 Core 的代码。 RestServer:提供
RESTful API,根据不同的 HTTP 请求,调用对应的 Core API,如果用户请求体是 gremlin 语句,则会转发给
GremlinServer,实现对图数据的操作。 下面对这三个配置文件逐一介绍。
2 gremlin-server.yaml gremlin-server.yaml 文件默认的内容如下:
-# host and port of gremlin server, need to be consistent with host and port in
rest-server.properties #host: 127.0.0.1 #port: 8182 # Gremlin 查询中的超时时间(以毫秒为单位)
evaluationTimeout: 30000 channelizer:
org.apache.tinkerpop.gremlin.server.channel.WsAndHttpChannelizer #
不要在此处设置图形,此功能将在支持动态添加图形后再进行处理 graphs: { } scriptEngines: { gremlin-groovy: {
staticImports: [ org."><meta itemprop=dateModified
content="2024-02-01T18:09:33+08:00"><meta itemprop=wordCount
content="735"><meta itemprop=keywords co [...]
+# host and port of gremlin server, need to be consistent with host and port in
rest-server.properties #host: 127.0.0.1 #port: 8182 # Gremlin 查询中的超时时间(以毫秒为单位)
evaluationTimeout: 30000 channelizer:
org.apache.tinkerpop.gremlin.server.channel.WsAndHttpChannelizer #
不要在此处设置图形,此功能将在支持动态添加图形后再进行处理 graphs: { } scriptEngines: { gremlin-groovy: {
staticImports: [ org."><meta itemprop=dateModified
content="2024-08-02T15:50:42+08:00"><meta itemprop=wordCount
content="753"><meta itemprop=keywords co [...]
主要的配置文件包括:gremlin-server.yaml、rest-server.properties 和 hugegraph.properties
HugeGraphServer 内部集成了 GremlinServer 和 RestServer,而 gremlin-server.yaml 和
rest-server.properties 就是用来配置这两个 Server 的。
GremlinServer:GremlinServer 接受用户的 gremlin 语句,解析后转而调用 Core 的代码。 RestServer:提供
RESTful API,根据不同的 HTTP 请求,调用对应的 Core API,如果用户请求体是 gremlin 语句,则会转发给
GremlinServer,实现对图数据的操作。 下面对这三个配置文件逐一介绍。
@@ -135,6 +135,7 @@ GremlinServer:GremlinServer 接受用户的 gremlin 语句,解析后转而
</span></span></span></code></pre></div><p>上面的配置项很多,但目前只需要关注如下几个配置项:channelizer
和 graphs。</p><ul><li>graphs:GremlinServer 启动时需要打开的图,该项是一个 map 结构,key
是图的名字,value 是该图的配置文件路径;</li><li>channelizer:GremlinServer 与客户端有两种通信方式,分别是
WebSocket 和 HTTP(默认)。如果选择 WebSocket,
用户可以通过 <a href=/clients/gremlin-console.html>Gremlin-Console</a> 快速体验
HugeGraph 的特性,但是不支持大规模数据导入,
推荐使用 HTTP 的通信方式,HugeGraph 的外围组件都是基于 HTTP 实现的;</li></ul><p>默认 GremlinServer
是服务在 localhost:8182,如果需要修改,配置 host、port 即可</p><ul><li>host:部署 GremlinServer
机器的机器名或 IP,目前 HugeGraphServer 不支持分布式部署,且 GremlinServer
不直接暴露给用户;</li><li>port:部署 GremlinServer 机器的端口;</li></ul><p>同时需要在
rest-server.properties 中增加对应的配置项 gremlinserver.url=http://host:port</p><h3
id=3-rest-serverproperties>3
rest-server.properties</h3><p>rest-server.properties 文件的默认内容如下:</p><div
class=highlight><pre tabindex=0 style=backgro [...]
+</span></span><span style=display:flex><span># could use '0.0.0.0' or
specified (real)IP to expose external network access
</span></span><span
style=display:flex><span>restserver.url=http://127.0.0.1:8080
</span></span><span style=display:flex><span># gremlin server url, need to be
consistent with host and port in gremlin-server.yaml
</span></span><span
style=display:flex><span>#gremlinserver.url=http://127.0.0.1:8182
@@ -149,7 +150,7 @@ GremlinServer:GremlinServer 接受用户的 gremlin 语句,解析后转而
</span></span><span style=display:flex><span>
</span></span><span style=display:flex><span>server.id=server-1
</span></span><span style=display:flex><span>server.role=master
-</span></span></code></pre></div><ul><li>restserver.url:RestServer 提供服务的
url,根据实际环境修改;</li><li>graphs:RestServer 启动时也需要打开图,该项为 map 结构,key 是图的名字,value
是该图的配置文件路径;</li></ul><blockquote><p>注意:gremlin-server.yaml 和
rest-server.properties 都包含 graphs 配置项,而 <code>init-store</code> 命令是根据
gremlin-server.yaml 的 graphs 下的图进行初始化的。</p></blockquote><blockquote><p>配置项
gremlinserver.url 是 GremlinServer 为 RestServer 提供服务的 url,该配置项默认为
http://localhost:8182,如需修改,需要和 gremlin-server.yaml 中的 host 和 port 相匹配;< [...]
+</span></span></code></pre></div><ul><li>restserver.url:RestServer 提供服务的
url,根据实际环境修改。如果其他 IP 地址无法访问,可以尝试修改为特定的地址;或修改为 <code>http://0.0.0.0</code>
来监听来自任何 IP 地址的请求,这种方案较为便捷,但需要留意服务可被访问的网络范围;</li><li>graphs:RestServer
启动时也需要打开图,该项为 map 结构,key 是图的名字,value
是该图的配置文件路径;</li></ul><blockquote><p>注意:gremlin-server.yaml 和
rest-server.properties 都包含 graphs 配置项,而 <code>init-store</code> 命令是根据
gremlin-server.yaml 的 graphs 下的图进行初始化的。</p></blockquote><blockquote><p>配置项
gremlinserver.url 是 GremlinServe [...]
</span></span><span
style=display:flex><span>gremlin.graph=org.apache.hugegraph.HugeFactory
</span></span><span style=display:flex><span>
</span></span><span style=display:flex><span># cache config
@@ -281,7 +282,7 @@ GremlinServer:GremlinServer 接受用户的 gremlin 语句,解析后转而
</span></span></code></pre></div><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>curl
http://127.0.0.1:8080/graphs/hugegraph_rocksdb_backend
</span></span><span style=display:flex><span>
</span></span><span style=display:flex><span><span
style=color:#ce5c00;font-weight:700>{</span><span
style=color:#4e9a06>"name"</span>:<span
style=color:#4e9a06>"hugegraph_rocksdb"</span>,<span
style=color:#4e9a06>"backend"</span>:<span
style=color:#4e9a06>"rocksdb"</span><span
style=color:#ce5c00;font-weight:700>}</span>
-</span></span></code></pre></div><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(".feedback--answer-no"),yesResponse=document.querySelector(".feedback--response-yes"),noResponse=document.querySelector(".feedback--response-no"),disableButtons=()=>{yesButt
[...]
+</span></span></code></pre></div><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(".feedback--answer-no"),yesResponse=document.querySelector(".feedback--response-yes"),noResponse=document.querySelector(".feedback--response-no"),disableButtons=()=>{yesButt
[...]
<script
src=https://cdn.jsdelivr.net/npm/[email protected]/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/cn/docs/config/index.xml b/cn/docs/config/index.xml
index 3993eebc..4d5249ee 100644
--- a/cn/docs/config/index.xml
+++ b/cn/docs/config/index.xml
@@ -136,6 +136,7 @@
<h3 id="3-rest-serverproperties">3 rest-server.properties</h3>
<p>rest-server.properties 文件的默认内容如下:</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-fallback" data-lang="fallback"><span
style="display:flex;"><span># bind url
+</span></span><span style="display:flex;"><span># could use
&#39;0.0.0.0&#39; or specified (real)IP to expose external network
access
</span></span><span
style="display:flex;"><span>restserver.url=http://127.0.0.1:8080
</span></span><span style="display:flex;"><span># gremlin server
url, need to be consistent with host and port in gremlin-server.yaml
</span></span><span
style="display:flex;"><span>#gremlinserver.url=http://127.0.0.1:8182
@@ -151,7 +152,7 @@
</span></span><span style="display:flex;"><span>server.id=server-1
</span></span><span style="display:flex;"><span>server.role=master
</span></span></code></pre></div><ul>
-<li>restserver.url:RestServer 提供服务的 url,根据实际环境修改;</li>
+<li>restserver.url:RestServer 提供服务的 url,根据实际环境修改。如果其他 IP
地址无法访问,可以尝试修改为特定的地址;或修改为 <code>http://0.0.0.0</code> 来监听来自任何 IP
地址的请求,这种方案较为便捷,但需要留意服务可被访问的网络范围;</li>
<li>graphs:RestServer 启动时也需要打开图,该项为 map 结构,key 是图的名字,value
是该图的配置文件路径;</li>
</ul>
<blockquote>
diff --git a/cn/docs/index.xml b/cn/docs/index.xml
index bf3922b1..0a5ce7b0 100644
--- a/cn/docs/index.xml
+++ b/cn/docs/index.xml
@@ -1802,6 +1802,7 @@ HugeGraph 支持多用户并行操作,用户可输入 Gremlin 查询语句,
<h3 id="3-rest-serverproperties">3 rest-server.properties</h3>
<p>rest-server.properties 文件的默认内容如下:</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-fallback" data-lang="fallback"><span
style="display:flex;"><span># bind url
+</span></span><span style="display:flex;"><span># could use
&#39;0.0.0.0&#39; or specified (real)IP to expose external network
access
</span></span><span
style="display:flex;"><span>restserver.url=http://127.0.0.1:8080
</span></span><span style="display:flex;"><span># gremlin server
url, need to be consistent with host and port in gremlin-server.yaml
</span></span><span
style="display:flex;"><span>#gremlinserver.url=http://127.0.0.1:8182
@@ -1817,7 +1818,7 @@ HugeGraph 支持多用户并行操作,用户可输入 Gremlin 查询语句,
</span></span><span style="display:flex;"><span>server.id=server-1
</span></span><span style="display:flex;"><span>server.role=master
</span></span></code></pre></div><ul>
-<li>restserver.url:RestServer 提供服务的 url,根据实际环境修改;</li>
+<li>restserver.url:RestServer 提供服务的 url,根据实际环境修改。如果其他 IP
地址无法访问,可以尝试修改为特定的地址;或修改为 <code>http://0.0.0.0</code> 来监听来自任何 IP
地址的请求,这种方案较为便捷,但需要留意服务可被访问的网络范围;</li>
<li>graphs:RestServer 启动时也需要打开图,该项为 map 结构,key 是图的名字,value
是该图的配置文件路径;</li>
</ul>
<blockquote>
diff --git a/cn/sitemap.xml b/cn/sitemap.xml
index 75028baa..551a90b8 100644
--- a/cn/sitemap.xml
+++ b/cn/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>/cn/docs/language/hugegraph-gremlin/</loc><lastmod>2023-01-01T16:16:43+08:00</lastmod><xhtml:link
rel="alternate" hreflang="en"
href="/docs/language/hugegraph-gremlin/"/><xhtml:link rel="alternate"
hreflang="cn"
href="/cn/docs/language/hugegraph-gremlin/"/></url><url><loc>/cn/docs/performance/hugegraph-benchmark-0.5.6/</lo
[...]
\ 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>/cn/docs/language/hugegraph-gremlin/</loc><lastmod>2023-01-01T16:16:43+08:00</lastmod><xhtml:link
rel="alternate" hreflang="en"
href="/docs/language/hugegraph-gremlin/"/><xhtml:link rel="alternate"
hreflang="cn"
href="/cn/docs/language/hugegraph-gremlin/"/></url><url><loc>/cn/docs/performance/hugegraph-benchmark-0.5.6/</lo
[...]
\ No newline at end of file
diff --git a/docs/_print/index.html b/docs/_print/index.html
index 1cb4baf0..0616f0a2 100644
--- a/docs/_print/index.html
+++ b/docs/_print/index.html
@@ -1745,6 +1745,7 @@ Implement a class inherited from <code>Formatter</code>
in the directory, such a
</span></span></span><span style=display:flex><span><span
style=color:#f8f8f8;text-decoration:underline> </span><span
style=color:#204a87;font-weight:700>enabled</span><span
style=color:#000;font-weight:700>:</span><span
style=color:#f8f8f8;text-decoration:underline> </span><span
style=color:#204a87;font-weight:700>false</span><span
style=color:#f8f8f8;text-decoration:underline>
</span></span></span><span style=display:flex><span><span
style=color:#f8f8f8;text-decoration:underline></span>}<span
style=color:#f8f8f8;text-decoration:underline>
</span></span></span></code></pre></div><p>There are many configuration
options mentioned above, but for now, let’s focus on the following
options: <code>channelizer</code> and
<code>graphs</code>.</p><ul><li><code>graphs</code>: This option specifies the
graphs that need to be opened when the GremlinServer starts. It is a map
structure where the key is the name of the graph and the value is the
configuration file path for that graph.</li><li><code>channelizer</code>: The
GremlinSe [...]
+</span></span><span style=display:flex><span># could use '0.0.0.0' or
specified (real)IP to expose external network access
</span></span><span
style=display:flex><span>restserver.url=http://127.0.0.1:8080
</span></span><span style=display:flex><span># gremlin server url, need to be
consistent with host and port in gremlin-server.yaml
</span></span><span
style=display:flex><span>#gremlinserver.url=http://127.0.0.1:8182
@@ -1759,7 +1760,7 @@ Implement a class inherited from <code>Formatter</code>
in the directory, such a
</span></span><span style=display:flex><span>
</span></span><span style=display:flex><span>server.id=server-1
</span></span><span style=display:flex><span>server.role=master
-</span></span></code></pre></div><ul><li><code>restserver.url</code>: The URL
at which the RestServer provides its services. Modify it according to the
actual environment.</li><li><code>graphs</code>: The RestServer also needs to
open graphs when it starts. This option is a map structure where the key is the
name of the graph and the value is the configuration file path for that
graph.</li></ul><blockquote><p>Note: Both <code>gremlin-server.yaml</code> and
<code>rest-server.properties</c [...]
+</span></span></code></pre></div><ul><li><code>restserver.url</code>: The URL
at which the RestServer provides its services. Modify it according to the
actual environment. If you can’t connet to server from other IP address,
try to modify it as specific IP; or modify it as <code>http://0.0.0.0</code> to
listen all network interfaces as a convenient solution, but need to take care
of the network area that might access.</li><li><code>graphs</code>: The
RestServer also needs to open g [...]
</span></span><span
style=display:flex><span>gremlin.graph=org.apache.hugegraph.HugeFactory
</span></span><span style=display:flex><span>
</span></span><span style=display:flex><span># cache config
diff --git a/docs/config/_print/index.html b/docs/config/_print/index.html
index 319276a2..6d1d9d75 100644
--- a/docs/config/_print/index.html
+++ b/docs/config/_print/index.html
@@ -111,6 +111,7 @@
</span></span></span><span style=display:flex><span><span
style=color:#f8f8f8;text-decoration:underline> </span><span
style=color:#204a87;font-weight:700>enabled</span><span
style=color:#000;font-weight:700>:</span><span
style=color:#f8f8f8;text-decoration:underline> </span><span
style=color:#204a87;font-weight:700>false</span><span
style=color:#f8f8f8;text-decoration:underline>
</span></span></span><span style=display:flex><span><span
style=color:#f8f8f8;text-decoration:underline></span>}<span
style=color:#f8f8f8;text-decoration:underline>
</span></span></span></code></pre></div><p>There are many configuration
options mentioned above, but for now, let’s focus on the following
options: <code>channelizer</code> and
<code>graphs</code>.</p><ul><li><code>graphs</code>: This option specifies the
graphs that need to be opened when the GremlinServer starts. It is a map
structure where the key is the name of the graph and the value is the
configuration file path for that graph.</li><li><code>channelizer</code>: The
GremlinSe [...]
+</span></span><span style=display:flex><span># could use '0.0.0.0' or
specified (real)IP to expose external network access
</span></span><span
style=display:flex><span>restserver.url=http://127.0.0.1:8080
</span></span><span style=display:flex><span># gremlin server url, need to be
consistent with host and port in gremlin-server.yaml
</span></span><span
style=display:flex><span>#gremlinserver.url=http://127.0.0.1:8182
@@ -125,7 +126,7 @@
</span></span><span style=display:flex><span>
</span></span><span style=display:flex><span>server.id=server-1
</span></span><span style=display:flex><span>server.role=master
-</span></span></code></pre></div><ul><li><code>restserver.url</code>: The URL
at which the RestServer provides its services. Modify it according to the
actual environment.</li><li><code>graphs</code>: The RestServer also needs to
open graphs when it starts. This option is a map structure where the key is the
name of the graph and the value is the configuration file path for that
graph.</li></ul><blockquote><p>Note: Both <code>gremlin-server.yaml</code> and
<code>rest-server.properties</c [...]
+</span></span></code></pre></div><ul><li><code>restserver.url</code>: The URL
at which the RestServer provides its services. Modify it according to the
actual environment. If you can’t connet to server from other IP address,
try to modify it as specific IP; or modify it as <code>http://0.0.0.0</code> to
listen all network interfaces as a convenient solution, but need to take care
of the network area that might access.</li><li><code>graphs</code>: The
RestServer also needs to open g [...]
</span></span><span
style=display:flex><span>gremlin.graph=org.apache.hugegraph.HugeFactory
</span></span><span style=display:flex><span>
</span></span><span style=display:flex><span># cache config
diff --git a/docs/config/config-guide/index.html
b/docs/config/config-guide/index.html
index fc2754cf..9fb7aece 100644
--- a/docs/config/config-guide/index.html
+++ b/docs/config/config-guide/index.html
@@ -2,10 +2,10 @@
The directory for the configuration files is hugegraph-release/conf, and all
the configurations related to the service and the graph itself …"><meta
property="og:title" content="HugeGraph configuration"><meta
property="og:description" content="1 Overview The directory for the
configuration files is hugegraph-release/conf, and all the configurations
related to the service and the graph itself are located in this directory.
The main configuration files include gremlin-server.yaml,
rest-server.properties, and hugegraph.properties.
The HugeGraphServer integrates the GremlinServer and RestServer internally,
and gremlin-server.yaml and rest-server.properties are used to configure these
two servers.
-GremlinServer: GremlinServer accepts Gremlin statements from users, parses
them, and then invokes the Core code. RestServer: It provides a RESTful API
that, based on different HTTP requests, calls the corresponding Core
API."><meta property="og:type" content="article"><meta property="og:url"
content="/docs/config/config-guide/"><meta property="article:section"
content="docs"><meta property="article:modified_time"
content="2023-11-01T21:52:52+08:00"><meta property="og:site_name" content="
[...]
+GremlinServer: GremlinServer accepts Gremlin statements from users, parses
them, and then invokes the Core code. RestServer: It provides a RESTful API
that, based on different HTTP requests, calls the corresponding Core
API."><meta property="og:type" content="article"><meta property="og:url"
content="/docs/config/config-guide/"><meta property="article:section"
content="docs"><meta property="article:modified_time"
content="2024-08-02T15:50:42+08:00"><meta property="og:site_name" content="
[...]
The main configuration files include gremlin-server.yaml,
rest-server.properties, and hugegraph.properties.
The HugeGraphServer integrates the GremlinServer and RestServer internally,
and gremlin-server.yaml and rest-server.properties are used to configure these
two servers.
-GremlinServer: GremlinServer accepts Gremlin statements from users, parses
them, and then invokes the Core code. RestServer: It provides a RESTful API
that, based on different HTTP requests, calls the corresponding Core
API."><meta itemprop=dateModified content="2023-11-01T21:52:52+08:00"><meta
itemprop=wordCount content="1382"><meta itemprop=keywords content><meta
name=twitter:card content="summary"><meta name=twitter:title content="HugeGraph
configuration"><meta name=twitter:descriptio [...]
+GremlinServer: GremlinServer accepts Gremlin statements from users, parses
them, and then invokes the Core code. RestServer: It provides a RESTful API
that, based on different HTTP requests, calls the corresponding Core
API."><meta itemprop=dateModified content="2024-08-02T15:50:42+08:00"><meta
itemprop=wordCount content="1437"><meta itemprop=keywords content><meta
name=twitter:card content="summary"><meta name=twitter:title content="HugeGraph
configuration"><meta name=twitter:descriptio [...]
The main configuration files include gremlin-server.yaml,
rest-server.properties, and hugegraph.properties.
The HugeGraphServer integrates the GremlinServer and RestServer internally,
and gremlin-server.yaml and rest-server.properties are used to configure these
two servers.
GremlinServer: GremlinServer accepts Gremlin statements from users, parses
them, and then invokes the Core code. RestServer: It provides a RESTful API
that, based on different HTTP requests, calls the corresponding Core
API."><link rel=preload
href=/scss/main.min.14ea575cb35d93d46ff8681b2334f40fd46243c100c5c39f5a841b931fae2d40.css
as=style><link
href=/scss/main.min.14ea575cb35d93d46ff8681b2334f40fd46243c100c5c39f5a841b931fae2d40.css
rel=stylesheet integrity><script src=https://code.jquer [...]
@@ -125,6 +125,7 @@ GremlinServer: GremlinServer accepts Gremlin statements
from users, parses them,
</span></span></span><span style=display:flex><span><span
style=color:#f8f8f8;text-decoration:underline> </span><span
style=color:#204a87;font-weight:700>enabled</span><span
style=color:#000;font-weight:700>:</span><span
style=color:#f8f8f8;text-decoration:underline> </span><span
style=color:#204a87;font-weight:700>false</span><span
style=color:#f8f8f8;text-decoration:underline>
</span></span></span><span style=display:flex><span><span
style=color:#f8f8f8;text-decoration:underline></span>}<span
style=color:#f8f8f8;text-decoration:underline>
</span></span></span></code></pre></div><p>There are many configuration
options mentioned above, but for now, let’s focus on the following
options: <code>channelizer</code> and
<code>graphs</code>.</p><ul><li><code>graphs</code>: This option specifies the
graphs that need to be opened when the GremlinServer starts. It is a map
structure where the key is the name of the graph and the value is the
configuration file path for that graph.</li><li><code>channelizer</code>: The
GremlinSe [...]
+</span></span><span style=display:flex><span># could use '0.0.0.0' or
specified (real)IP to expose external network access
</span></span><span
style=display:flex><span>restserver.url=http://127.0.0.1:8080
</span></span><span style=display:flex><span># gremlin server url, need to be
consistent with host and port in gremlin-server.yaml
</span></span><span
style=display:flex><span>#gremlinserver.url=http://127.0.0.1:8182
@@ -139,7 +140,7 @@ GremlinServer: GremlinServer accepts Gremlin statements
from users, parses them,
</span></span><span style=display:flex><span>
</span></span><span style=display:flex><span>server.id=server-1
</span></span><span style=display:flex><span>server.role=master
-</span></span></code></pre></div><ul><li><code>restserver.url</code>: The URL
at which the RestServer provides its services. Modify it according to the
actual environment.</li><li><code>graphs</code>: The RestServer also needs to
open graphs when it starts. This option is a map structure where the key is the
name of the graph and the value is the configuration file path for that
graph.</li></ul><blockquote><p>Note: Both <code>gremlin-server.yaml</code> and
<code>rest-server.properties</c [...]
+</span></span></code></pre></div><ul><li><code>restserver.url</code>: The URL
at which the RestServer provides its services. Modify it according to the
actual environment. If you can’t connet to server from other IP address,
try to modify it as specific IP; or modify it as <code>http://0.0.0.0</code> to
listen all network interfaces as a convenient solution, but need to take care
of the network area that might access.</li><li><code>graphs</code>: The
RestServer also needs to open g [...]
</span></span><span
style=display:flex><span>gremlin.graph=org.apache.hugegraph.HugeFactory
</span></span><span style=display:flex><span>
</span></span><span style=display:flex><span># cache config
@@ -271,7 +272,7 @@ GremlinServer: GremlinServer accepts Gremlin statements
from users, parses them,
</span></span></code></pre></div><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>curl
http://127.0.0.1:8080/graphs/hugegraph_rocksdb_backend
</span></span><span style=display:flex><span>
</span></span><span style=display:flex><span><span
style=color:#ce5c00;font-weight:700>{</span><span
style=color:#4e9a06>"name"</span>:<span
style=color:#4e9a06>"hugegraph_rocksdb"</span>,<span
style=color:#4e9a06>"backend"</span>:<span
style=color:#4e9a06>"rocksdb"</span><span
style=color:#ce5c00;font-weight:700>}</span>
-</span></span></code></pre></div><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(".feedback--answer-no"),yesResponse=document.querySelector(".feedback--response-yes"),noResponse=document.querySelector(".feedback--response-no"),disableButtons=()=>{yesButt
[...]
+</span></span></code></pre></div><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(".feedback--answer-no"),yesResponse=document.querySelector(".feedback--response-yes"),noResponse=document.querySelector(".feedback--response-no"),disableButtons=()=>{yesButt
[...]
<script
src=https://cdn.jsdelivr.net/npm/[email protected]/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/config/index.xml b/docs/config/index.xml
index 8035f6ff..6520baf7 100644
--- a/docs/config/index.xml
+++ b/docs/config/index.xml
@@ -134,6 +134,7 @@
<h3 id="3-rest-serverproperties">3. rest-server.properties</h3>
<p>The default content of the <code>rest-server.properties</code>
file is as follows:</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-fallback" data-lang="fallback"><span
style="display:flex;"><span># bind url
+</span></span><span style="display:flex;"><span># could use
&#39;0.0.0.0&#39; or specified (real)IP to expose external network
access
</span></span><span
style="display:flex;"><span>restserver.url=http://127.0.0.1:8080
</span></span><span style="display:flex;"><span># gremlin server
url, need to be consistent with host and port in gremlin-server.yaml
</span></span><span
style="display:flex;"><span>#gremlinserver.url=http://127.0.0.1:8182
@@ -149,7 +150,7 @@
</span></span><span style="display:flex;"><span>server.id=server-1
</span></span><span style="display:flex;"><span>server.role=master
</span></span></code></pre></div><ul>
-<li><code>restserver.url</code>: The URL at which the RestServer
provides its services. Modify it according to the actual environment.</li>
+<li><code>restserver.url</code>: The URL at which the RestServer
provides its services. Modify it according to the actual environment. If you
can&rsquo;t connet to server from other IP address, try to modify it as
specific IP; or modify it as <code>http://0.0.0.0</code> to listen all
network interfaces as a convenient solution, but need to take care of the
network area that might access.</li>
<li><code>graphs</code>: The RestServer also needs to open graphs
when it starts. This option is a map structure where the key is the name of the
graph and the value is the configuration file path for that graph.</li>
</ul>
<blockquote>
diff --git a/docs/index.xml b/docs/index.xml
index 847923f5..95998ea0 100644
--- a/docs/index.xml
+++ b/docs/index.xml
@@ -164,6 +164,7 @@
<h3 id="3-rest-serverproperties">3. rest-server.properties</h3>
<p>The default content of the <code>rest-server.properties</code>
file is as follows:</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-fallback" data-lang="fallback"><span
style="display:flex;"><span># bind url
+</span></span><span style="display:flex;"><span># could use
&#39;0.0.0.0&#39; or specified (real)IP to expose external network
access
</span></span><span
style="display:flex;"><span>restserver.url=http://127.0.0.1:8080
</span></span><span style="display:flex;"><span># gremlin server
url, need to be consistent with host and port in gremlin-server.yaml
</span></span><span
style="display:flex;"><span>#gremlinserver.url=http://127.0.0.1:8182
@@ -179,7 +180,7 @@
</span></span><span style="display:flex;"><span>server.id=server-1
</span></span><span style="display:flex;"><span>server.role=master
</span></span></code></pre></div><ul>
-<li><code>restserver.url</code>: The URL at which the RestServer
provides its services. Modify it according to the actual environment.</li>
+<li><code>restserver.url</code>: The URL at which the RestServer
provides its services. Modify it according to the actual environment. If you
can&rsquo;t connet to server from other IP address, try to modify it as
specific IP; or modify it as <code>http://0.0.0.0</code> to listen all
network interfaces as a convenient solution, but need to take care of the
network area that might access.</li>
<li><code>graphs</code>: The RestServer also needs to open graphs
when it starts. This option is a map structure where the key is the name of the
graph and the value is the configuration file path for that graph.</li>
</ul>
<blockquote>
diff --git a/en/sitemap.xml b/en/sitemap.xml
index f7b060b0..3df3715f 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-06-25T21:06:07+08: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-11-01T21:52:52+08: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-06-25T21:06:07+08: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>2024-08-02T15:50:42+08:00</last
[...]
\ No newline at end of file
diff --git a/sitemap.xml b/sitemap.xml
index 9890808a..ab7396d2 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>2024-07-11T15:30:07+08:00</lastmod></sitemap><sitemap><loc>/cn/sitemap.xml</loc><lastmod>2024-07-11T15:30:07+08: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>/en/sitemap.xml</loc><lastmod>2024-08-02T15:50:42+08:00</lastmod></sitemap><sitemap><loc>/cn/sitemap.xml</loc><lastmod>2024-08-02T15:50:42+08:00</lastmod></sitemap></sitemapindex>
\ No newline at end of file