Questions tagged [cypher-shell]
36 questions
10
votes
3 answers
How to run a cypher script file from Terminal with the cypher-shell neo4j command?
I have a cypher script file and I would like to run it directly.
All answers I could find on SO to the best of my knowledge use the command neo4j-shell which in my version (Neo4j server 3.5.5) seems to be deprecated and substituted with the command…

roschach
- 8,390
- 14
- 74
- 124
4
votes
1 answer
How to pass multiple parameters to the Neo4j Browser
I'd like to pass multiple parameters to the Neo4j 4.0 browser while making sure that the type of the parameter values (int, date) is interpreted correctly.
I tried using the syntax of the Cypher shell commands:
Using the colon syntax paramName:…

Gabor Szarnyas
- 4,410
- 3
- 18
- 42
3
votes
1 answer
Neo4J: How could I restart the database from the cypher-shell?
How could I restart the Neo4J database using the cypher-shell?
Do you Know if exist a command?

raf
- 137
- 2
- 12
2
votes
1 answer
How to pipe cypher-scripts (UTF-8) containing umlauts to neo4j using cypher-shell (Windows)?
The Cypher-script "Umlauts.cypher" (UTF-8, created in Windows-environment) contains one transaction for importing an "umlaut-object" containing some umlauts:
:BEGIN
CREATE(:Umlautobj{text:"ÄäÖöÜü"});
:COMMIT
For piping the script (Windows…

CB_Dev
- 41
- 5
1
vote
0 answers
Retry after OOME fail when Neo4j procedure called from Neo4j browser but not from cypher-shell
I have Java method deployed into dockerized Neo4j as standard stored procedure in plugin. The method sets new property to all nodes of some label. It fails with OutOfMemoryError since the JVM heap is not appropriately sized for committing everything…

Tomáš Záluský
- 10,735
- 2
- 36
- 64
1
vote
2 answers
Export data from Neo4j Sandbox
So i've worked with Neo4j sandbox and i have a whole graph there , but my sandbox is gonna expire so i have to export the data , and import it in my localhost community neo4j instance , i tried to use APOC , but the problem is when i call…

Oelmounkad
- 103
- 1
- 8
1
vote
3 answers
Unable to use created neo4j database
I had created a neo4j database, which was working perfectly.
But now, when i try to use the database created by me, using following command:
:USE foo;
it gives error:
Unable to get a routing table for database 'foo' because this database is…

Sharwan Kami
- 155
- 2
- 7
1
vote
1 answer
Running CQL file in Neo4j
I have a CQL file called Novis.cql. Its somewhere random on my harddrive, but I want to run it in Neo4J to create my graph (it contains 500+ lines of code).
Where do I have to place it? And what command do I have to run nowadays to get it working?…

Spkch
- 11
- 2
1
vote
0 answers
Why can't I import APOC-exported cypher-shell file?
On my AWS hosted Neo4j server I have a large dataset ingested. Versions in use are neo4j:3.5.5-enterprise and apoc-3.5.0.4. I want to examine a subset of the dataset on my laptop, so I want to export the subset and create my data.cypher file like…

oschlueter
- 2,596
- 1
- 23
- 46
0
votes
1 answer
How to use Environment variable NEO4J_PASSWORD in cypher-shell
Can anyone please help me on how to execute the cypher-shell command by passing username and pwd as environment variables.
I have tried to define these variables in the Environment variables section of Advanced tab in my local desktop. However it…

Chaitan
- 21
- 1
0
votes
1 answer
Failed dependencies error during installation of neo4j on Centos7
I'm trying to install community version of neo4j server.
My server is running Centos7
$ hostnamectl
Operating System: CentOS Linux 7 (Core)
CPE OS Name: cpe:/o:centos:centos:7
Kernel: Linux 3.10.0-1160.80.1.el7.x86_64
Architecture: x86-64
I have…

David Makovoz
- 1,766
- 2
- 16
- 27
0
votes
1 answer
How to change the read timeout of cypher-shell?
Using Neo4j 4.4.11 (community edition), I'm trying to delete a certain type of relationships from my graph with cypher-shell:
MATCH ()-[r:MYRELATIONSHIPLABEL]->() CALL { WITH r DETACH DELETE r } IN TRANSACTIONS OF 10000 ROWS;
But I always end up…

Tobias Hermann
- 9,936
- 6
- 61
- 134
0
votes
2 answers
What is collection/Pair error in cypher script?
I have written a buggy cypher script, but I cannot find the actual problem.
Here is the crucial part of the script:
:begin
:param measured => 'heat';
:param vals => [
{d: datetime({year: 2022, month: 1, day: 1, hour: 4}), v: 47980},
{d:…

BairDev
- 2,865
- 4
- 27
- 50
0
votes
1 answer
How to extract dynamic property names from a json file in Neo4J using Cypher Query
The tags property names are dynamic. e.g. linux and cypher are dynamic in the json. I am trying to extract the dynamic tags and their values and associate them as properties to the Person node. Here is what I have so far:
CALL…

Sascha
- 398
- 6
- 14
0
votes
1 answer
Execute huge Cypher script with CREATE (node and relationships)
I have a question about settings (Neo4j configuration). I have a 15GB Cypher script with CREATE keywords only (no CSV loading) , which has a repeating pattern inside: create of a few (usually 10-30) nodes and create of a few relationships that use…

Domel
- 29
- 3