如何将Gremlin Server连接到远程Neo4j数据库? [英] How to connect Gremlin Server to a remote Neo4j Database?

查看:443
本文介绍了如何将Gremlin Server连接到远程Neo4j数据库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对Gremlin服务器有疑问.是否可以将Gremlin服务器连接到Neo4j服务器(远程数据库)?目前,我的文件系统中有一个Neo4j数据库,一个与之连接的Gremlin服务器.现在,我希望两台服务器都使用相同的Neo4J数据库运行

I have a Question about the Gremlin Server. Is it possible to connect a Gremlin Server to a Neo4j Server (remote database)? At the Moment I have a Neo4j database in my fileysystem and a Gremlin Server which connect to it. Now I want both Servers running with the same Neo4J Database

我使用: Gremlin服务器3.1.1 Neo4J Community 2.2.8(可以更新至2.3.2)

I use: Gremlin Server 3.1.1 Neo4J Community 2.2.8 (can update to 2.3.2)

我找到了另一个问题,但没有答案如何将蓝图连接到远程neo4j服务器

I've found another Question but without answers How to connect Blueprints to a remote neo4j server

推荐答案

您可以使用 SteelBridgeLabs /neo4j-gremlin-bolt 可以通过螺栓协议提供连接. 开始连接时,您可以提供远程地址

You can use the SteelBridgeLabs/neo4j-gremlin-bolt that provides a connection over the bolt protocol. When starting the connection, you can provide a remote address

请注意,目前这些功能受到带有索引的限制.

Note that the functionalities are, at the moment, limited with indexes.

在处理Gremlin/Tinkerpop时,当前实现为 Neo4j Java API ,尽管它可以解析某些密码查询,但不会将其发送到服务器. 此外,它不会将gremlin查询转换为密码查询.

When dealing with Gremlin/Tinkerpop, the current implementation is a wrapper of the Neo4j Java API, although it can parse some cypher queries, it doesn't send them to the server. Also, it doesn't convert the gremlin queries into cypher queries.

如果您查看文件 conf/neo4j-empty.properties ,您会注意到gremlin.neo4j.directory=/tmp/neo4j.这是实际存储所在数据的路径. 简而言之,没有Neo4j服务器在运行,只有知道如何处理Neo4j存储二进制文件的Java二进制文件.

If you look a the file conf/neo4j-empty.properties you will notice gremlin.neo4j.directory=/tmp/neo4j. This is the path to the actual store, where your data is. In simplified terms, there is no Neo4j server running, just java binaries that know how to deal with the Neo4j store binaries.

neo4j-tinkerpop-api-impl未获得Apache 2许可

neo4j-tinkerpop-api-impl is NOT Apache 2 licensed

这篇关于如何将Gremlin Server连接到远程Neo4j数据库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆