We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
None
参照说明文档,https://hugegraph.apache.org/cn/docs/clients/restful-api/traverser/ 使用kout接口请求报错
post请求接口:http://10.36.45.127:8080/graphs/hugegraph/traversers/kout 请求参数: { "source": "1:marko", "steps": { "direction": "BOTH", "edge_steps": [ { "label": "knows", "properties": { "weight": "P.gt(0.1)" } }, { "label": "created", "properties": { "weight": "P.gt(0.1)" } } ], "vertex_steps": [ { "label": "person", "properties": { "age": "P.lt(32)" } }, { "label": "software", "properties": {} } ], "max_degree": 10000, "skip_degree": 100000 }, "max_depth": 1, "nearest": true, "limit": 10000, "with_vertex": true, "with_path": true, "with_edge": true }
请求报错:Unrecognized field "steps" (class com.baidu.hugegraph.api.traversers.KoutAPI$Request), not marked as ignorable (9 known properties: "max_depth", "capacity", "source", "step", "with_vertex", "nearest", "limit", "count_only", "with_path"]) at [Source: (org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$UnCloseableInputStream); line: 3, column: 15] (through reference chain: com.baidu.hugegraph.api.traversers.KoutAPI$Request["steps"])
No response
The text was updated successfully, but these errors were encountered:
because the api has changed/enhanced in the latest code #2276
@DanGuge seems we should add NOTE INFO for latest changes?
Sorry, something went wrong.
It is beacause you are using the hugegraph version <= 1.0.0, here is the doc for version <= 1.0.0
if use the outdated version, u need to check the doc in repo now, we will enhance it later (provided a old version in website)
Consider upgrading to the latest apache version and could reopen issue if you meet other problems
No branches or pull requests
Problem Type (问题类型)
None
Before submit
Environment (环境信息)
Your Question (问题描述)
参照说明文档,https://hugegraph.apache.org/cn/docs/clients/restful-api/traverser/
使用kout接口请求报错
post请求接口:http://10.36.45.127:8080/graphs/hugegraph/traversers/kout
请求参数:
{
"source": "1:marko",
"steps": {
"direction": "BOTH",
"edge_steps": [
{
"label": "knows",
"properties": {
"weight": "P.gt(0.1)"
}
},
{
"label": "created",
"properties": {
"weight": "P.gt(0.1)"
}
}
],
"vertex_steps": [
{
"label": "person",
"properties": {
"age": "P.lt(32)"
}
},
{
"label": "software",
"properties": {}
}
],
"max_degree": 10000,
"skip_degree": 100000
},
"max_depth": 1,
"nearest": true,
"limit": 10000,
"with_vertex": true,
"with_path": true,
"with_edge": true
}
请求报错:Unrecognized field "steps" (class com.baidu.hugegraph.api.traversers.KoutAPI$Request), not marked as ignorable (9 known properties: "max_depth", "capacity", "source", "step", "with_vertex", "nearest", "limit", "count_only", "with_path"])
at [Source: (org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$UnCloseableInputStream); line: 3, column: 15] (through reference chain: com.baidu.hugegraph.api.traversers.KoutAPI$Request["steps"])
Vertex/Edge example (问题点 / 边数据举例)
No response
Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)
No response
The text was updated successfully, but these errors were encountered: