【发布时间】:2021-08-10 09:55:51
【问题描述】:
有没有办法在 Amazon Neptune 中使用 gremlin 计算 PageRank 和 Shortest Path 算法?
正如 gremlin 文档中所说的那样 PageRank centrality can be calculated with Gremlin with the pageRank()-step which is designed to work with GraphComputer (OLAP) based traversals.
我尝试通过以下代码使用 gremlinpython 创建遍历:g = graph.traversal().withComputer().withRemote(remoteConn),但出现此错误:GremlinServerError: 499: {"code":"UnsupportedOperationException","requestId":"4493df8b-b09f-47b1-b230-b83cfe1afa76","detailedMessage":"Graph does not support graph computer"}
那么是否可以在 Amazon Neptune 中使用 GraphComputer 遍历?
【问题讨论】:
标签: gremlin amazon-neptune gremlinpython