23,051 questions
0
votes
0
answers
19
views
Neo4j APOC export.json.all() not returning data with large dataset (68K nodes, 178K relationships) using Neo4j 4.4.40
Problem:
I'm trying to export data from Neo4j (version 4.4.40) using APOC (version 4.4.0.34) with the following Cypher query:
CALL apoc.export.json.all(null, {stream: true, batchSize: 5000, useTypes: ...
0
votes
0
answers
20
views
How to fix Arabic script in Neo4j visualization library
I’m using the Neo4j Visualization Library to display Arabic text, but the letters are rendering left‑to‑right (instead of right‑to‑left) and appear disconnected. See image below. Has anyone ...
0
votes
2
answers
23
views
Can I create one VECTOR INDEX for multiple labels (e.g. Movie and Person)?
I'm on Neo4j 5.27 (community) and want to index the same property (say embedding) across two different node types—Movie and Person—with a single vector index. I’ve tried:
CREATE VECTOR INDEX ...
0
votes
1
answer
44
views
Create relationship only if node merge resulted in create
Say I have some Cypher:
MATCH (f:FirstNode {with:$parametersF})
WITH f
MERGE (s:SomeNode {with:$parametersS})
ON CREATE SET s.source=$source
MERGE (s)-[:IS_CONNECTED_TO]->(f)
I want to be able to ...
0
votes
1
answer
75
views
Unable to use Spring-boot jpa and Spring-boot neo4j at the same time in a basic CRUD project
I managed to implement a small project that allows me to save data in my Neo4j database. However, when I add dependencies spring-boot-starter-data-jpa and ojdbc11, without any other modifications, I ...
0
votes
2
answers
26
views
How to rollback Neo4j transaction outside a Session
I have a Java application that connects to Neo4j. I want to test the rollback ability for my project, so I have created a sample code.
First, I am opening a session, perform a write transaction and ...
0
votes
0
answers
37
views
Unable to access neo4j db when URL is made https
I recently faced an issue with Neo4j Graph. So the issue is, previously I installed Neo4j in a GCP VM, and I used to access it using this URL http://coolname.name.in:7474/browser.
For security ...
0
votes
0
answers
28
views
Error with conditional merge of nodes with cypher and apoc
I am running merging logic in cypher (neo4j 5.26) such as this:
MATCH (n:Person {name: "Tom"})
OPTIONAL MATCH (n2:Person {name:"Peter"})
CALL apoc.do.when(
n2 IS NULL,
'SET n....
1
vote
1
answer
35
views
Neo4j ShortestPath Query is taking long time
I have 50 million nodes and 64 million relationships in neo4j db. I am using shortestPath query (shown below-3rd Query) to form origin-destination matrix. But it is taking lot of time because of too ...
0
votes
0
answers
24
views
"name" is null: Neo4j’s APOC throws a NullPointerException when trying to map a type to a property
I am trying to import a JSON Lines file into Neo4j using its APOC plugin.
In this file, each object has a coordinates property, itself an object containing the latitude, longitude and height ...
0
votes
0
answers
20
views
How to create a Neo4j TestContainer with APOC and GraphQL? When APOC is enabled, GraphQL fails to retrieve data
I'm trying to set up a Neo4j TestContainer with APOC and GraphQL, but I am encountering issues when enabling APOC.
Here's my setup:
Without APOC: The data is correctly inserted into Neo4j, and ...
1
vote
1
answer
77
views
For given edge, find all nodes the edge lies on any path from
I have undirected connected graph with one main node (denoted by M in examples below).
I am trying to find efficient algorithm to following specification:
input is set of edges (denoted by thick ...
0
votes
0
answers
39
views
Why is Neo4j Aura using entity types (not values) as labels for nodes in graph?
I cannot figure this out to save my life. In the tutorials for loading CSV data into Neo4j Aura, all nodes/edges automatically inherit labels as the entity VALUES; however, all the nodes/edges in my ...
0
votes
1
answer
31
views
Neo4j - Count of symmetric meta-path - Include half meta-paths
I have constructed a Neo4j graph based on MovieLens100k with the following content:
Nodes: (:User), (:Movie), (:Genre)
Relations: (:User)-[:RATED]->(:Movie), (:Movie)-[:HAS_GENRE]->(:Genre)
I ...
0
votes
0
answers
15
views
Unknown frame descriptor when loading a Neo4j dump with neo4j-admin load
I create daily dumps in a K8s cluster using helm with neo4j/neo4j version 5.21.0 and neo4j-admin database dump command. Then I wanted to load the dumps into a local volume using neo4j-admin version 5....