【问题标题】:Rexster OrientDB configurationRexster OrientDB 配置
【发布时间】:2023-09-21 06:54:01
【问题描述】:

我正在尝试设置 Rexster(2.5 版)以使用 OrientDB(1.7 rc2)。问题是我不知道应该在图形配置的<graph-type> 字段中输入什么。最近的 Rexster 文档 (https://github.com/tinkerpop/rexster/wiki/Specific-Graph-Configurations) 指出,OrientDB 支持已从包中删除,因此必须从 OrientDB 分发中复制 orientdb-client 和 orientdb-enterprise jar。

这就是我所做的。然后我将<graph> 部分设置如下:

<graph>                                                                                                        
  <graph-enabled>true</graph-enabled>                                                                        
  <graph-name>test</graph-name>                                                                            
  <graph-type>com.tinkerpop.blueprints.impls.orient.OrientGraphRexsterConfiguration</graph-type>                             
  <graph-location>local:orientdb/databases/test</graph-location>                        
  <extensions>                                                                                               
    <allows>                                                                                               
      <allow>tp:gremlin</allow>                                                                          
    </allows>
  </extensions>                                                                                              
</graph>

我在 Rexster 启动时收到 java.lang.ClassNotFoundException: com.tinkerpop.blueprints.impls.orient.OrientGraphRexsterConfiguration

我还尝试设置 Rexster 2.1,当使用 orientgraph&lt;graph-type&gt; 时效果很好(根据 https://code.google.com/p/orient/wiki/Rexster)。这种方法在 2.5 中失败。我觉得我一定遗漏了一些明显的东西。有人可以指出解决方案吗?

谢谢!

【问题讨论】:

    标签: orientdb tinkerpop bulbs rexster


    【解决方案1】:

    看起来我的文档不太正确。 &lt;graph-type&gt; 应该是:

    com.tinkerpop.rexster.OrientGraphConfiguration
    

    你可以在这里看到课程:

    https://github.com/orientechnologies/orientdb/blob/develop/graphdb/src/main/java/com/tinkerpop/rexster/OrientGraphConfiguration.java

    我已经更正了文档。由于该课程仍在develop 分支中,我不确定它是否已发布。我知道 Luca 会跟踪 * 中发生的事情,所以也许他可以就何时发布提供额外的评论。如果没有,您可能想向 OrientDB 邮件列表写一些东西。

    【讨论】: