Questions tagged [neo4j-bolt]

Tag for the newly designed remoting protocol BOLT.

The Neo4j 3.0 Milestone 1 release introduced Bolt, a new network protocol designed for high-performance access to graph databases.

Bolt will consolidate and refine all the ways of doing work with Neo4j, providing more consistent access with a pleasant separation of responsibility.

Bolt is a connection-oriented protocol, using a compact binary encoding over TCP or web sockets for higher throughput and lower latency.

BOLT Java, JavaScript and Python drivers are available today.

42 questions
1
vote
0 answers

neo4j - output in json format

I recently upgraded from Neo4j 3.1.4 to 3.2.3 and I notice that the browser has lost the exportJSON option. How can I export the result of a cypher query as JSON in the new version?
Mathew
  • 23
  • 5
1
vote
1 answer

Neo4J with small graph uses a lot of memory on Ubuntu 16.04

I have installed Neo4J v3.3.0 (community edition) in an Ubuntu 16.04 virtual machine (Hyper-V) with 8GB and 4 cores. I have a very small graph (30 nodes) and it is used just for reading (about 1 hit every 3 seconds), it seldomly gets written to. We…
supercoco
  • 512
  • 2
  • 7
  • 25
1
vote
0 answers

Neo4j JavaScript Bolt driver ECONNRESET, buffer closed

I am sending around 300+ write and one read queries to the database via the official Neo4j javascript driver. Sometimes it's fast but sometimes I encounter this connection error called by driver.onError. Looking at the debug.log, it seems like…
1
vote
1 answer

Neo4j:Deletes relationships automatically

I am using spring data neo4j version 4.1.2 with bolt driver 2.0.6. I am facing issue of breaking relationship between entities automatically. I have an domain named organization and organization belongs to many entities but i am mentioning…
Prabjot Singh
  • 4,491
  • 8
  • 31
  • 51
1
vote
2 answers

Causal Cluster. Data not in Graph even after Transaction Termination

We are using Neo4j Enterprise edition for Causal Clustering. There are 3 core nodes and 3 replica nodes. Is it necessary that Session be closed explicitly for data to be visible in the neo4j database. I am creating close to 20K transactions (each of…
AngelsandDemons
  • 2,823
  • 13
  • 47
  • 70
1
vote
1 answer

How to set many properties to neo4j node with python bolt driver?

How to do somethink like that: data = {'field1': 'data1', 'field2': '#data2', 'field3': 'data3', 'field4': 'data4'} r = session.run("MATCH (n) WHERE id(n) = 287 SET n = {props}", parameters=data)
devmans
  • 13
  • 2
1
vote
2 answers

Neo4j Java bolt driver: how to convert the result to Json?

I am using the Java Bolt driver (1.0.1) and I am wondering there is a way to convert the result to Json (possibly the same as in the REST api)? I tried to use gson in this way: Result r = null; try ( Transaction tx = graphDb.beginTx() ) { r =…
Randomize
  • 8,651
  • 18
  • 78
  • 133
0
votes
1 answer

Neo4j test container: Database name parameter for selecting database is not supported in Bolt Protocol Version 3.0

I'm using the Neo4j OGM and currently creating a session factory like this. Configuration config = new Configuration.Builder() .uri(uri) .credentials(username, password) .database(db) …
Freid001
  • 2,580
  • 3
  • 29
  • 60
0
votes
0 answers

How to pass a DateTime value as parameter in Java Driver for Neo4J?

I am using the Neo4J Java driver org.neo4j.driver neo4j-java-driver 4.2.0 And I am trying to use a DateTime value as value in a parameter map…
BairDev
  • 2,865
  • 4
  • 27
  • 50
0
votes
0 answers

Not able to connect to Neo4j cluster from other services in Kubernetes Cluster

In my Kubernetes cluster, I have installed neo4j using Helm Chart. Used the below command. helm install --name neo4j-helm stable/neo4j --set acceptLicenseAgreement=yes --set imageTag=4.0.1 I have Python Flask application as another service. I am…
Jinto
  • 847
  • 1
  • 11
  • 27
0
votes
1 answer

What is difference between `result_available_after` and `result_consumed_after` in `BoltStatementResultSummary`? How to measure query execution time?

I tried understanding from the docs here, quoting from the doc result_available_after = None The time it took for the server to have the result available. result_consumed_after = None The time it took for the server to consume the result. I…
Yashashvi
  • 340
  • 3
  • 12
0
votes
1 answer

(Python,Neo4j-driver) - How return none when check if node does not exist

Hello i'm very new for neo4j(neo4j-driver) in python. I have a problem when checking if node not exist, i have sent some name that not have any matched with node in db by these code. from neo4j import GraphDatabase driver =…
Kaow
  • 483
  • 2
  • 9
  • 22
0
votes
2 answers

Spring Data Neo4J - Manage Connection to graph DB

We have an application that must connect to multiple graph DBs. The database that we want to connect to can be determined in the header of an HTTP request. I have tried writing an HandlerInterceptorAdapter and auto wiring the SessionFactory and…
Michael H
  • 215
  • 1
  • 2
  • 9
0
votes
2 answers

Where/when is the place to call Dispose() on a Neo4j IDriver?

I am creating nodes and relationships from a c# service and I am not sure when the ideal time to call dispose would be. I have three methods that create Neo4j nodes and two that create relationships. These are called right after the other. Each…
Diego
  • 117
  • 11
0
votes
1 answer

Can't connect to neo4j via Browser, bolt port changed in neo4j browser

I have used neo4j until now with a previous database. I now created a new database and I try to open neo4j browser and suddenly, I find: BoltConnectionError: No connection found, did you connect to Neo4j? Seeing logs of my database, I see…
Bharat Ram Ammu
  • 174
  • 2
  • 16