Questions tagged [neo4j-driver]

85 questions
0
votes
1 answer

Neo4j Server certificate is not trusted

I have just set up my Neo4j server on a VM on Google Cloud, I'm using Enterprise version 4.1.1, and I've have finished following the great post (here) by David Allen about how to get a certificate with LetsEncrypt. This has all worked perfectly and…
Sean
  • 494
  • 6
  • 23
0
votes
1 answer

Routing issue in neo4j 4.0 with multiple databases

I have created a neo4j and graphql application with neo4j 4.0. In my application, I used two neo4j databases. These instances run in a docker container on my PC. But When I tried to run a query using graphql playground, graphql server gives the…
Prasad
  • 125
  • 2
  • 3
  • 13
0
votes
1 answer

neo4j Javascript API : create parameter

I am trying to create a parameter from a Javascript application But the following code doesn't work : var input=json_table_definition.replace(/[\n\r]+/g, ''); var session = driver.session(); let results; return session .run(':param…
Bruno C
  • 199
  • 13
0
votes
1 answer

neo4j c# get all data

I tried get all data from my neo4j database via neo4j driver (https://github.com/neo4j/neo4j-dotnet-driver) and I have problem, because IResultCursor result have nodes only without edges. My code: var records = new List(); IResultCursor…
BeFine9
  • 15
  • 5
0
votes
0 answers

Neo4jError: Run from within the transaction or use a different session

I upgraded Neo4j (3.?.? → 4.0.3) and the neo4j-javascript-driver (1.7.6 → 4.0.2). Without any code changes, my Node app now gets a flurry of: Neo4jError: Queries cannot be run directly on a session with an open transaction; either run from within…
Michael Johansen
  • 4,688
  • 5
  • 29
  • 47
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

Creating several of the same relationship types from a node in python using neo4j-driver

I'm running into this issue while trying to mass load data from a cypher script using the neo4j-driver for python. Lets say I have a node X, I should be able to do the following: (X)-[:IS_FRIENDS]->(Y) (X)-[:IS_FRIENDS]->(Z) i.e. have multiple of…
0
votes
1 answer

Python loading script for neo4j returns ValueError

I'm relatively new-ish to programming in general (business analytics student turned data analyst) and I'm testing a python script to iterate over csv rows and construct a cypher query for each row to load into neo4j - import pandas as pd from neo4j…
pborah88
  • 1
  • 2
0
votes
1 answer

Running "MATCH (n) DETACH DELETE n" via "neo4j-driver" doesn't work

I'm testing the neo4j-driver package to run Cypher queries via JavaScript/TypeScript. I can run most queries just fine, but every time I try running the command MATCH (n) DETACH DELETE n my program just keeps hanging and nothing happens. My code: //…
Telmo Trooper
  • 4,993
  • 1
  • 30
  • 35
0
votes
0 answers

Not able to make relationship between previous and next node by neo4j-driver

i am storing the object of previous node and current node so that i can create relationship between previous and current node for example the string is "There is a cat", each word will be node in neo4j which will have relation ship of ":next" with…
Huwaiza
  • 77
  • 2
  • 13
0
votes
2 answers

(Neo4j-driver) - How to do batch insert relationship with Python

I'm trying to do batch create relationships between nodes in the neo4j database. I was trying with this code but it doesn't work! relations = [{'from': 'man', 'to': 'woman', 'properties': {'cost': 0}}, {'from': 'woman', 'to': 'baby', 'properties':…
Kaow
  • 483
  • 2
  • 9
  • 22
0
votes
0 answers

(Neo4j-driver) How to create node and relationship to neo4j database faster?

i am try to create nodes and relationship to database by using python but it takes very too much time. I use official neo4j-driver library and connect to database by Bolt protocal. from neo4j import GraphDatabase driver =…
Kaow
  • 483
  • 2
  • 9
  • 22
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
1 answer

neo4j "ServiceUnavailableException:Unable to process request: Permission denied " when initialising the driver in android application

Both the Android emulator and smartphone can not run the application because of this exception, although I tested the connection which is well and Android can reach the neo4j database using neo4j browser on Chrome. And this is my maven verision,…
skr
  • 1
  • 2
0
votes
0 answers

Node(ID) already exists with label `X` and property 'Y'

I'm creating nodes with CREATE command like the following: CREATE (d:A { name:'one_string' }) when I run such a query, I get the following error message: Node(12079) already exists with label `B` and property `name` = 'a_different_string' As you…
Pedram
  • 2,421
  • 4
  • 31
  • 49