23,034 questions
0
votes
1
answer
33
views
Efficient Search Across Elasticsearch and Neo4j Without Pulling Large Result Sets
here i got :
Elasticsearch stores most of the searchable / document-like data (text fields, city, etc.)
Neo4j stores relationships and some entity attributes (e.g., gender, graph connections)
Each ...
1
vote
2
answers
45
views
Neo4j has issues with loading Reactome Graph Database
I have been trying to start exploring the Reactome Graph Database today following the instructions given at https://reactome.org/dev/graph-database#GetStarted
I have installed Neo4j Desktop 2 (version ...
Best practices
0
votes
0
replies
73
views
Cypher - best practice to find OR between relations
I've been trying to find the best (easiest to adjust and modify, and most efficient) way to implement and find an OR relation between Neo4j graph relations.
For reference - my Neo4j DB can contain ...
0
votes
1
answer
61
views
Get a list of relationships from Neo4J repository using Spring
I started learning the development of REST API using Spring and Neo4J. I am unable to understand how Repositories work, even I looked to the documentation.
I have Airport node and LINE relationship. ...
2
votes
1
answer
77
views
How to specify more than two relationships to the same node in a `MERGE`
I have this situation
CREATE (a:X { id: 1 })
CREATE (b:Y { id: 2 })
CREATE (c:Z { id: 3 })
CREATE (:Z { id: 4 })
CREATE (a)-[:HAS]->(d:W { id: 5 })<-[:HAS]-(b)
CREATE (c)-[:HAS]->(d)
And I ...
1
vote
1
answer
70
views
Why doesn't this Neo4j query return anything when the second list is empty?
If I run this query
UNWIND [1,2,3] AS a
WITH collect(a) AS la
UNWIND [4,5,6] AS b
WITH la, collect(b) AS lb
RETURN la, lb
I get this result
la
lb
[1, 2, 3]
[4, 5, 6]
If I change the FIRST list to [], ...
0
votes
1
answer
56
views
Internal implementation of Neo4j's RBAC to handle conflicting privileges assigned for the same role
In Neo4j, when assigning write privileges on a spicific node type for a role, I can deny write permission on some property on that node type, but also grant write permission on all the node's ...
0
votes
4
answers
98
views
Understanding indexes in Neo4j
I have a fairly complicated Cypher query as follows:
MATCH (n1:Object {id:299235,type:3})-[r1:COMPARED_TO]->(n2:Object {type:3})-[r2:COMPARED_TO]->(n3:Object {type:3})-[r3:COMPARED_TO]->(n4:...
1
vote
0
answers
46
views
Failed to invoke procedure `apoc.export.csv.query`: The AWS Access Key Id you provided does not exist in our records
I'm using Neo4j Browser (from Neo4j Desktop for Windows) on my local computer to run the following Cypher query to export local graph data to a bucket on AWS S3:
CALL apoc.export.csv.query(
"...
1
vote
0
answers
45
views
How to run Neo4j Docker container using Singularity on HPC without shutdown during data import?
I'm trying to run the Neo4j Docker container using Singularity on an HPC system. The container starts successfully, but it shuts down automatically when I try to add data to the database (e.g., via ...
0
votes
0
answers
43
views
Unable to access Neo4j running in Docker on VM from outside the VM
I have deployed Neo4j Community Edition (with APOC plugin) inside a Docker container running on a Linux VM.
Inside the VM, I can access Neo4j Browser on http://localhost:7474
without issues. But from ...
2
votes
0
answers
76
views
Neo4j complex label expressions inconsistencies
I'm running Neo4j 5.18.1 enterprise edition with a cluster of 6 servers.
I'm running 2 queries on all servers in the cluster, trying to find a specific node.
The node in question has the following ...
0
votes
0
answers
158
views
Zep Graphiti - core - Adding Episode fails the LLM structured output
On the ingestion part to the graph db, I pass a json file, as an episode, custom entities (and edges), using gemini api, but I get some discrepancy on the structured output, like so:
LLM generation ...
0
votes
1
answer
82
views
Matching variable length paths in Neo4j with WHERE
I am getting my head around a Neo4j database that links people together, along with details of how they are connected.
Specifically I have a "Person" node and a "KNOWS" ...
0
votes
0
answers
62
views
Why does Neo4j connect over TLS using bolt:// when tls_level=REQUIRED?
Neo4j Community is running on an Ubuntu Server in a virtual private network on Azure. The default HTTP for both its browser and bolt are disabled in favour of HTTPS and WSS (through self-signed ...