Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update vertex.md for fuzzy query #184

Merged
merged 1 commit into from
Jan 15, 2023
Merged

update vertex.md for fuzzy query #184

merged 1 commit into from
Jan 15, 2023

Conversation

cygoodboy
Copy link
Contributor

增加顶点查询时,模糊查询的说明

增加顶点查询时,模糊查询的说明
@imbajin imbajin changed the title Update vertex.md update vertex.md for fuzzy query Jan 10, 2023
@@ -385,7 +385,7 @@ PUT http:https://127.0.0.1:8080/graphs/hugegraph/graph/vertices/"1:marko"?action=elimi

以上参数都是可选的,如果提供page参数,必须提供limit参数,不允许带其他参数。`label, properties`和`limit`可以任意组合。

属性键值对由JSON格式的属性名称和属性值组成,允许多个属性键值对作为查询条件,属性值支持精确匹配和范围匹配,精确匹配时形如`properties={"age":29}`,范围匹配时形如`properties={"age":"P.gt(29)"}`,范围匹配支持的表达式如下:
属性键值对由JSON格式的属性名称和属性值组成,允许多个属性键值对作为查询条件,属性值支持精确匹配、范围匹配和模糊匹配,精确匹配时形如`properties={"age":29}`,范围匹配时形如`properties={"age":"P.gt(29)"}`,模糊匹配时形如`properties={"city": "P.textcontains("ChengDu China")},`范围匹配支持的表达式如下:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO: also need to update content/cn/docs/clients/restful-api/vertex.md

@javeme javeme merged commit 5139589 into apache:master Jan 15, 2023
github-actions bot pushed a commit that referenced this pull request Jan 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants