【问题标题】:Gremlin: text searching predicates not working on OrientDBGremlin:文本搜索谓词不适用于 OrientDB
【发布时间】:2020-02-06 19:14:41
【问题描述】:

我在 OrientDB 上有以下查询:

g.V().hasLabel('people').has('firstName',startingWith('V')).values('ID')

我收到“执行 Gremlin 查询失败”响应。我知道有名字以“V”开头的“人”,但即使没有,它也应该返回空结果。任何想法为什么会发生这种情况?

【问题讨论】:

    标签: orientdb gremlin


    【解决方案1】:

    您可能正在运行与 Gremlin 3.3.x 对齐的 OrientDB 版本 3.0.x。

    这些新的文本谓词,如 startingWith,在 Gremlin 3.4.x 中添加,在 OriendDB 版本 3.1.x 中可用,目前处于里程碑预览阶段。

    【讨论】:

      猜你喜欢
      • 2016-08-04
      • 2018-10-23
      • 1970-01-01
      • 1970-01-01
      • 2013-01-01
      • 1970-01-01
      • 2019-02-02
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多