Gremlin - tinkerpop 文档中的 gremlin 查询不起作用
Gremlin - gremlin queries in tinkerpop documentation not working
我是图形数据库、gremlin 和 tinkerpop 的新手。我们在我们正在构建的应用程序中使用它们,并且设置已由其他团队完成。
现在,当我尝试 运行 tinkerpop 文档中提供的 gremlin 查询时,其中许多查询都无法正常工作,并且我收到错误提示 'no signature of method:'。
你能指导我检查什么以及如何检查,无论是版本还是其他任何使它们工作的东西。
我们使用 janusgraph、cassandra 作为存储后端,使用 elasticsearch 进行索引。
像您一样检查 Gremlin 的版本是正确的选择。 x.y.z
的 "z" 版本之间可能存在微小差异,而 'x.y.z' 的 "y" 版本之间可能存在较大差异。因此,对于 3.2.3,您需要 TinkerPop 的此文档:
http://tinkerpop.apache.org/docs/3.2.3/reference/
截至撰写本文时,JanusGraph 尚未发布支持 TinkerPop 3.3.0 的版本,我的感觉是它并不像仅仅增加版本号那样微不足道。 3.3.0 引入了许多图形提供者可能必须以新测试、修订语义、class 重命名等形式处理的更改。如果没有,您可能无法自己完成这些更改JanusGraph 工作原理的先验知识。
pull request for 3.3.0 support however so you could try to build that if you'd like an early look at how it works. If not I suggest you consult the 3.2.3 documentation and simply write your Gremlin in that form. 3.3.0 doesn't really introduce a ton of major new Gremlin steps, so you aren't missing much - I think you only get limit()
and better addE()
semantics. I would be sure to consult javadocs of 3.2.6 似乎确实有一个 pull request for 3.3.0 support however so you could try to build that if you'd like an early look at how it works. If not I suggest you consult the 3.2.3 documentation and simply write your Gremlin in that form. 3.3.0 doesn't really introduce a ton of major new Gremlin steps, so you aren't missing much - I think you only get limit()
and better addE()
semantics. I would be sure to consult javadocs of 3.2.6 的每个已弃用的 Gremlin 步骤的完整列表,因此当 JanusGraph 确实发布 3.3.0 支持时,您处于升级的最佳位置。
我是图形数据库、gremlin 和 tinkerpop 的新手。我们在我们正在构建的应用程序中使用它们,并且设置已由其他团队完成。
现在,当我尝试 运行 tinkerpop 文档中提供的 gremlin 查询时,其中许多查询都无法正常工作,并且我收到错误提示 'no signature of method:'。
你能指导我检查什么以及如何检查,无论是版本还是其他任何使它们工作的东西。
我们使用 janusgraph、cassandra 作为存储后端,使用 elasticsearch 进行索引。
像您一样检查 Gremlin 的版本是正确的选择。 x.y.z
的 "z" 版本之间可能存在微小差异,而 'x.y.z' 的 "y" 版本之间可能存在较大差异。因此,对于 3.2.3,您需要 TinkerPop 的此文档:
http://tinkerpop.apache.org/docs/3.2.3/reference/
截至撰写本文时,JanusGraph 尚未发布支持 TinkerPop 3.3.0 的版本,我的感觉是它并不像仅仅增加版本号那样微不足道。 3.3.0 引入了许多图形提供者可能必须以新测试、修订语义、class 重命名等形式处理的更改。如果没有,您可能无法自己完成这些更改JanusGraph 工作原理的先验知识。
pull request for 3.3.0 support however so you could try to build that if you'd like an early look at how it works. If not I suggest you consult the 3.2.3 documentation and simply write your Gremlin in that form. 3.3.0 doesn't really introduce a ton of major new Gremlin steps, so you aren't missing much - I think you only get limit()
and better addE()
semantics. I would be sure to consult javadocs of 3.2.6 似乎确实有一个 pull request for 3.3.0 support however so you could try to build that if you'd like an early look at how it works. If not I suggest you consult the 3.2.3 documentation and simply write your Gremlin in that form. 3.3.0 doesn't really introduce a ton of major new Gremlin steps, so you aren't missing much - I think you only get limit()
and better addE()
semantics. I would be sure to consult javadocs of 3.2.6 的每个已弃用的 Gremlin 步骤的完整列表,因此当 JanusGraph 确实发布 3.3.0 支持时,您处于升级的最佳位置。