Questions tagged [neo4j-driver]
85 questions
1
vote
0 answers
multiple python scripts accessing neo4j database
I'm using a Neo4j database (local community server) with my own graph and I'm doing some link prediction via python scripts. The graph is quite large so I outsourced the computing to a HPC Cluster. My Problem now is: on the cluster I'd like to run…

T-Man
- 47
- 9
1
vote
0 answers
How to handle Deadlocks using the javascript neo4j driver?
I'm using the javascript neo4j-driver and sometimes I'm facing this error :
Neo4jError: ForsetiClient[3] can't acquire ExclusiveLock{owner=ForsetiClient[0]} on INDEX_ENTRY(5454851920060587002), because holders of that lock are waiting for…

Yacine
- 209
- 1
- 12
1
vote
1 answer
All simple (cyclic) paths query returns too much data -> heap overflow
I am quite new to Neo4j and using the Neo4j desktop version with the Javascript driver. My graph has about 30.000 nodes and 40.000 edges. The final approach would be to get all simple cycles in the graph but I am facing a heap overflow while trying…

Paulus
- 162
- 7
1
vote
0 answers
Is neo4j CREATE DATABASE transactional?
I am using NodeJS and the neo4j-driver package. On server startup I need to ensure that a specific database exists in my neo4j cluster. I therefore implemented this method:
export const ensureAdminDatabaseExists = async () => {
const session =…

Fredrik Anfinsen
- 107
- 1
- 8
1
vote
1 answer
TypeError: is not JSON serializable
For the below code, I am getting an error,please tell me how to resolve this
class GenerateQuery:
@staticmethod
def get_nlg(graph_query):
# graph = Graph("http://localhost:7474",auth=("neo4j", "pass"))
# graph_response =…
user11282064
1
vote
0 answers
How can I merge a schema after infer it from the driver?
I'm using inferSchema for generate GraphQL type definitions directly from the neo4j database, like this:
const inferAugmentedSchema = driver => {
return inferSchema(driver).then(result => {
return makeAugmentedSchema({
…

Ana Paula Lima
- 56
- 4
1
vote
1 answer
Neo4J connection pool is closing after application starts
I'm running my application and Neo4j 4 in Docker compose environment. After starting my application I'm getting some weird logs that connection pool is closing connection to DB (Closing connection pool towards graphdb(172.21.0.4):7687) and after…

MAGx2
- 3,149
- 7
- 33
- 63
1
vote
0 answers
Issue with neo4j driver when terminating java CLI
Recently I had upgrading (org.neo4j.driver) neo4j-java-driver from 1.4.4 to latest 1.7.5 as I wanted to start using temporal types within db. After upgrading all seemed to work smoothly until I've started playing with CLI tools (custom tools…

DonCziken
- 693
- 1
- 8
- 13
1
vote
1 answer
Returning the altered (by apoc.trigger) version of node instead of the original
I am using the python bolt driver to create nodes in a neo4j database. These nodes get altered by apoc.trigger functions. And i want the returning BoltStatementResult to contain the altered version of these nodes.
This is what i have tested so…

Valanthor
- 35
- 4
1
vote
1 answer
How to listen to neo4j trigger events in c# neo4j driver
Is there is way that i could subscribe to events from neo4j and listen to neo4j triggers that made using APOC (like add/update/delete etc) events in c# neo4j driver .
Any help is appreciated. Thanks in advance.

user1844634
- 1,221
- 2
- 17
- 35
1
vote
3 answers
How to pass result value from one statement to another in Neo4j
I have the below code where it runs multiple statements, First Statement should return a result which is used by Second Statement, it is a call from android app.
return session.writeTransaction(wrte=>{
let r : any
if(context.auth){
…

VINNUSAURUS
- 1,518
- 3
- 18
- 38
1
vote
1 answer
Neo4j Cypher Relationships bulk update properties
I am hoping someone can help me figure out why this bulk update to relationship properties is not working from the given dataset. The id value in the dataset is the neo4j ID of the relationship. tq, rpc and weight are the properties on it.
var…

Jeff Shoemaker
- 81
- 4
1
vote
0 answers
Does neo4j have a write cache that one could flush?
I have an application that writes to my neo4j database. Immediately after this write, another application performs a query and expects the previously written item as the result.
This doesn't happen, I don't get any result from my query.…

kdojeteri
- 755
- 6
- 17
1
vote
0 answers
Neo4j - How to use results of a cypher query in another query using neo4j-driver in python
I am building a web-application using flask and Neo4j as graph database. I am using official neo4j-driver for python.
Is there a way I can use the results (nodes) returned from a cypher query through a session transaction in another session as…

Akshay Agarwal
- 15
- 3
0
votes
0 answers
how to fix intersection conflict with neo4j-driver and Connection from cypher-query-builder
I have this code:
import { Neo4jOptions } from './../interfaces/neo4joptions.interface';
import { DynamicModule, Module } from '@nestjs/common';
import { ConfigModule, ConfigService } from '@nestjs/config';
import { Connection } from…

MichaelE
- 757
- 14
- 42