简体   繁体   中英

How to connect Gremlin Server to a remote Neo4j Database?

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

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

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

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 .


Background on the "other" Neo4j Java plugin

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.

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 is NOT Apache 2 licensed

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM