You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hugegraph.apache.org by GitBox <gi...@apache.org> on 2023/01/08 11:58:09 UTC
[GitHub] [incubator-hugegraph] cygoodboy opened a new issue, #2075: [Question] describe your problem
cygoodboy opened a new issue, #2075:
URL: https://github.com/apache/incubator-hugegraph/issues/2075
### Problem Type (问题类型)
others (please edit later)
### Before submit
- [X] 我已经确认现有的 [Issues](https://github.com/hugegraph/hugegraph/issues) 与 [FAQ](https://hugegraph.github.io/hugegraph-doc/guides/faq.html) 中没有相同 / 重复问题
### Environment (环境信息)
- Server Version: v0.12.0
- Backend: Hbase
- OS: xx CPUs, xx G RAM, Centos 7.x
- Data Size: 30 vertices, 40 edges
### Your Question (问题描述)
请问在java代码里除了用Gremlin语句进行模糊查询,还有其它方式嘛,类似于图片的方法进有嘛
(https://user-images.githubusercontent.com/26705277/211194736-c55be41d-c0bc-4a12-bfbd-0e850d52c1f5.png)
### Vertex/Edge example (问题点 / 边数据举例)
_No response_
### Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)
_No response_
--
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: dev-unsubscribe@hugegraph.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-hugegraph] javeme commented on issue #2075: [Question] 模糊查询的方式
Posted by GitBox <gi...@apache.org>.
javeme commented on issue #2075:
URL: https://github.com/apache/incubator-hugegraph/issues/2075#issuecomment-1375910983
可以的,properties内的value设置为`"P.textcontains(\"any text\")"`即可,比如`properties: {"city": "P.textcontains(\"Beijing China\")"}`。
更多格式请参考文档:
https://hugegraph.apache.org/docs/clients/restful-api/vertex/#216-%E8%8E%B7%E5%8F%96%E7%AC%A6%E5%90%88%E6%9D%A1%E4%BB%B6%E7%9A%84%E9%A1%B6%E7%82%B9
--
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: dev-unsubscribe@hugegraph.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-hugegraph] cygoodboy closed issue #2075: [Question] 模糊查询的方式
Posted by GitBox <gi...@apache.org>.
cygoodboy closed issue #2075: [Question] 模糊查询的方式
URL: https://github.com/apache/incubator-hugegraph/issues/2075
--
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: dev-unsubscribe@hugegraph.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-hugegraph] cygoodboy commented on issue #2075: [Question] 模糊查询的方式
Posted by GitBox <gi...@apache.org>.
cygoodboy commented on issue #2075:
URL: https://github.com/apache/incubator-hugegraph/issues/2075#issuecomment-1375945110
问题已解决
--
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: dev-unsubscribe@hugegraph.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-hugegraph] cygoodboy commented on issue #2075: [Question] 模糊查询的方式
Posted by GitBox <gi...@apache.org>.
cygoodboy commented on issue #2075:
URL: https://github.com/apache/incubator-hugegraph/issues/2075#issuecomment-1376589030
> 可以的,properties内的value设置为`"P.textcontains(\"any text\")"`即可,比如`properties: {"city": "P.textcontains(\"Beijing China\")"}`。
>
> 更多格式请参考文档: https://hugegraph.apache.org/docs/clients/restful-api/vertex/#216-%E8%8E%B7%E5%8F%96%E7%AC%A6%E5%90%88%E6%9D%A1%E4%BB%B6%E7%9A%84%E9%A1%B6%E7%82%B9
> 可以的,properties内的value设置为`"P.textcontains(\"any text\")"`即可,比如`properties: {"city": "P.textcontains(\"Beijing China\")"}`。
>
> 更多格式请参考文档: https://hugegraph.apache.org/docs/clients/restful-api/vertex/#216-%E8%8E%B7%E5%8F%96%E7%AC%A6%E5%90%88%E6%9D%A1%E4%BB%B6%E7%9A%84%E9%A1%B6%E7%82%B9
麻烦更新一下文档,里面没有写支持模糊查询
https://user-images.githubusercontent.com/26705277/211440140-261a6932-3bc8-4787-ac53-831498bd044b.png
--
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: dev-unsubscribe@hugegraph.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-hugegraph] cygoodboy commented on issue #2075: [Question] 模糊查询的方式
Posted by GitBox <gi...@apache.org>.
cygoodboy commented on issue #2075:
URL: https://github.com/apache/incubator-hugegraph/issues/2075#issuecomment-1376800957
这个不是网站里面的文档嘛,我该怎么pr。如果我fork你的项目,是改代码了,然后pr代码。
------------------ 原始邮件 ------------------
发件人: "apache/incubator-hugegraph" ***@***.***>;
发送时间: 2023年1月10日(星期二) 中午11:33
***@***.***>;
***@***.***>;"State ***@***.***>;
主题: Re: [apache/incubator-hugegraph] [Question] 模糊查询的方式 (Issue #2075)
可以的,properties内的value设置为"P.textcontains(\"any text\")"即可,比如properties: {"city": "P.textcontains(\"Beijing China\")"}。
更多格式请参考文档: https://hugegraph.apache.org/docs/clients/restful-api/vertex/#216-%E8%8E%B7%E5%8F%96%E7%AC%A6%E5%90%88%E6%9D%A1%E4%BB%B6%E7%9A%84%E9%A1%B6%E7%82%B9
可以的,properties内的value设置为"P.textcontains(\"any text\")"即可,比如properties: {"city": "P.textcontains(\"Beijing China\")"}。
更多格式请参考文档: https://hugegraph.apache.org/docs/clients/restful-api/vertex/#216-%E8%8E%B7%E5%8F%96%E7%AC%A6%E5%90%88%E6%9D%A1%E4%BB%B6%E7%9A%84%E9%A1%B6%E7%82%B9
麻烦更新一下文档,里面没有写支持模糊查询
https://user-images.githubusercontent.com/26705277/211440140-261a6932-3bc8-4787-ac53-831498bd044b.png
可以帮忙直接提一个pr,把中英文两边简单补充一下么?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you modified the open/close state.Message ID: ***@***.***>
--
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: dev-unsubscribe@hugegraph.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-hugegraph] imbajin commented on issue #2075: [Question] 模糊查询的方式
Posted by GitBox <gi...@apache.org>.
imbajin commented on issue #2075:
URL: https://github.com/apache/incubator-hugegraph/issues/2075#issuecomment-1376682353
> > 可以的,properties内的value设置为`"P.textcontains(\"any text\")"`即可,比如`properties: {"city": "P.textcontains(\"Beijing China\")"}`。
> >
> > 更多格式请参考文档: https://hugegraph.apache.org/docs/clients/restful-api/vertex/#216-%E8%8E%B7%E5%8F%96%E7%AC%A6%E5%90%88%E6%9D%A1%E4%BB%B6%E7%9A%84%E9%A1%B6%E7%82%B9
>
>
>
> > 可以的,properties内的value设置为`"P.textcontains(\"any text\")"`即可,比如`properties: {"city": "P.textcontains(\"Beijing China\")"}`。
> >
> > 更多格式请参考文档: https://hugegraph.apache.org/docs/clients/restful-api/vertex/#216-%E8%8E%B7%E5%8F%96%E7%AC%A6%E5%90%88%E6%9D%A1%E4%BB%B6%E7%9A%84%E9%A1%B6%E7%82%B9
>
>
> 麻烦更新一下文档,里面没有写支持模糊查询
> https://user-images.githubusercontent.com/26705277/211440140-261a6932-3bc8-4787-ac53-831498bd044b.png
>
可以帮忙直接提一个pr,把中英文两边简单补充一下么?
--
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: dev-unsubscribe@hugegraph.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-hugegraph] imbajin commented on issue #2075: [Question] 模糊查询的方式
Posted by GitBox <gi...@apache.org>.
imbajin commented on issue #2075:
URL: https://github.com/apache/incubator-hugegraph/issues/2075#issuecomment-1376809440
页面就能直接编辑 (github 会自动提示你 fork `doc` 仓库, 基本都是一键操作)
<img width="1438" alt="image" src="https://user-images.githubusercontent.com/17706099/211481670-62fd443a-1b12-490e-8c41-b233083a5daf.png">
<img width="930" alt="image" src="https://user-images.githubusercontent.com/17706099/211481818-1da54afc-3182-4b14-bc2f-4aee1bd3d81f.png">
当然你也可以手动 fork, 然后拉取 doc 仓库, 提交 PR 的流程, 参考 https://github.com/apache/incubator-hugegraph/blob/master/CONTRIBUTING.md , 可以优先考虑使用 github 客户端, 会大幅简化流程
--
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: dev-unsubscribe@hugegraph.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org