【问题标题】:Spring Data Neo4j 4 and schema indexes for @GraphIdSpring Data Neo4j 4 和 @GraphId 的模式索引
【发布时间】:2016-07-13 19:16:44
【问题描述】:

根据官方SDN4documentation-In Spring Data Neo4j 4, index management concerns were removed from the mapping framework entirely

那么@GraphId 的索引呢?它是否也超出了 SDN4 的范围,并且还必须手动创建带有 @GraphId 注释的字段的索引?

【问题讨论】:

    标签: neo4j spring-data-neo4j spring-data-neo4j-4 neo4j-ogm


    【解决方案1】:

    @GraphId 当前代表你没有任何控制权的 neo4j 内部 id。

    顺便说一句,按 id 查询是 neo4j 中最快的查找方式。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-11-20
      • 2014-05-30
      • 2012-09-17
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多