incubator-hugegraph icon indicating copy to clipboard operation
incubator-hugegraph copied to clipboard

personalrank 返回结果不在图中

Open songlf1002 opened this issue 1 year ago • 1 comments

Bug Type (问题类型)

rest-api (结果不合预期)

Before submit

  • [X] 我已经确认现有的 IssuesFAQ 中没有相同 / 重复问题 (I have confirmed and searched that there are no similar problems in the historical issue and documents)

Environment (环境信息)

  • Server Version: 0.12.0 (Apache Release Version)
  • Backend: RocksDB 1 nodes, HDD or SSD
  • OS: xx CPUs, xx G RAM, Ubuntu 2x.x / CentOS 7.x
  • Data Size: 10w vertices, 100w edges

Expected & Actual behavior (期望与实际表现)

curl -X POST -H 'Content-Type: application/json' -d '{"source": "n_1702127759626063874","label": "关键词_描述_时政新闻","alpha": 0.65,"max_depth": 5,"with_label": "SAME_LABEL","sorted": true,"limit": 10}' http://localhost:8080/graphs/hugegraph/traversers/personalrank

{ "n_1673137868762431490":0.010319020817624964, "n_1673122772107575298":0.010319020817624964, "n_1673126536017264641":0.010319020817624964, "n_1673100062237310977":0.009785142565794549, "n_1673171805165502466":0.009785142565794549, "n_1673130321410179073":0.009785142565794549, "n_1673130333338779650":0.009785142565794549, "n_1701405565497364482":0.000293543221234614, "n_1701420631248588801":0.0002934492140300502, "n_1687383052220043266":0.00024459880345798445 }

g.V('n_1673137868762431490') 结果显示不存在

Vertex/Edge example (问题点 / 边数据举例)

No response

Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)

No response

songlf1002 avatar Sep 17 '23 05:09 songlf1002

could u give a reproductive case/data set & try apache 1.0.0 version

imbajin avatar Sep 17 '23 08:09 imbajin