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


##########
content/cn/docs/clients/restful-api/edge.md:
##########
@@ -422,12 +422,19 @@ PUT 
http://localhost:8080/graphspaces/DEFAULT/graphs/hugegraph/graph/edges/S1:ma
 - vertex_id: 顶点 id
 - direction: 边的方向 (OUT | IN | BOTH),默认为 BOTH
 - label: 边的标签
-- properties: 属性键值对 (根据属性查询的前提是预先建立了索引)
+- properties: 属性键值对(索引覆盖要求见下文)
 - keep_start_p: 默认为 false,当设置为 true 后,不会自动转义范围匹配输入的表达式,例如此时 
`properties={"age":"P.gt(0.8)"}` 会被理解为精确匹配,即 age 属性等于 "P.gt(0.8)"
 - offset:偏移,默认为 0
 - limit: 查询数目,默认为 100
 - page: 页号
 
+未指定 `vertex_id` 时,`properties` 在全图范围查询边。如果指定了 
`label`,该边标签需要有与查询条件匹配的属性索引。如果未指定 `label`,所有声明了全部待查属性的边标签

Review Comment:
   Minor: This line breaks between "边标签" and "都需要" in the middle of a phrase. 
hugo.yaml does not enable `markup.goldmark.extensions.cjk.eastAsianLineBreaks`, 
so Goldmark emits the soft break as a newline and Chrome and Safari render it 
as a space: "所有声明了全部待查属性的边标签 都需要有匹配的索引覆盖". Lines 432 and 433 here and lines 422 
and 425 in vertex.md break after "," or ";", which also leaves a space inside a 
sentence. Please wrap the new Chinese paragraphs only after a sentence-ending 
"。", as vertex.md line 426 already does.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to