Questions tagged [neo4j-embedded]

Use of neo4j embedded directly into a Java application, using GraphDatabaseService interface

Neo4j can be setup as an embedded database directly in a Java application, whether as a server or desktop, or otherwise. This is primarily achieved through the use of GraphDatabaseService interface in the Java code.

Use of neo4j an an embedded database does not preclude using it simultaneously via its REST API, or through its web admin console, as long it is correctly configured at boot time.

35 questions
5
votes
3 answers

How to configure Neo4j embedded to run apoc procedures?

I have setup Neo4j using the latest spring 1.5 release, spring-data-neo4j 4.2, with ogm drivers. The configuration is using embedded driver without URI (so impermanent database store) Here is the spring @Configuration bean content: @Bean public…
4
votes
1 answer

Mapping a tree structure with Neo4J OGM

I am using Neo4J OGM (latest versions) to serialize my data into a Neo4J embedded database. This works with most of my entities, but as soon as i try to save a treelike structure, it takes forever to save and seems to create thousands of such…
Christian Huber
  • 828
  • 1
  • 5
  • 20
3
votes
1 answer

neo4j 3.0 embedded - no nodes

There's sometime I must be missing about neo4j 3.0 embedded. After creating a node, setting some properties, and marking the transaction as success. I then re-open the DB, but there are no nodes in it! What am I missing here? The neo4j documentation…
scalapeno
  • 833
  • 1
  • 6
  • 13
3
votes
2 answers

Use different databases embedded in Neo4j with Java

I am trying to evaluate different datamodels in Neo4j. For that reason I have created two databases which have those different models and saved them in the same directory: path/to/database/graphModel1 path/to/database/graphModel2 The next step is…
d.r.91
  • 123
  • 1
  • 5
2
votes
0 answers

Logical node deletion in Neo4j embedded

I have the following graph in an embedded Neo4j instance: I want to find all the people who are not greeted by anyone else. That's simple enough: MATCH (n) WHERE NOT ()-[:GREETS]->(n) RETURN n. However, whenever I find non-greeted people, I want to…
2
votes
1 answer

using Neo4j embedded in Java applications

I am trying to use Neo4j embedded in Java applications, and I am using this code: package com.tp.neo4j.java.examples; import org.neo4j.graphdb.GraphDatabaseService; import org.neo4j.graphdb.Transaction; import…
nana
  • 79
  • 5
2
votes
0 answers

Neo4j browser can't fully connect to embedded instance

I'm trying to connect to a neo4j embedded instance with the neo4j browser but when I try to connect the browser just displays "Connecting..." forever and the following error is shown in the browser console: Uncaught Error: Bolt V2 should always…
Greg
  • 1,225
  • 3
  • 16
  • 35
2
votes
1 answer

How do I connect to a neo4j embedded instance via bolt using the neo4j browser?

I've followed the instructions in section 4.14 of the documentation but I can't figure out how to connect the neo4j browser to my embedded instance. Once the server is running, I open the browser via neo4j desktop and run :server connect. This…
Greg
  • 1,225
  • 3
  • 16
  • 35
2
votes
1 answer

Neo4J server startup error after enabling the unmanaged extension configuration

I am using Neo4J community edition 2.3.0 on windows OS 10. Everything works well until I changed the configuration at neo4j-server.properties files as: …
Rupendra
  • 608
  • 2
  • 11
  • 42
2
votes
1 answer

Neo4j slow cypher query in embedded mode

I have a huge graphdatabase with authors, which are connected to papers and papers a connected to nodes which contains meta information of the paper. I tried to select authors which match a specific pattern and therefore I executed the following…
h.bisch
  • 51
  • 6
1
vote
0 answers

How to expose Neo4j Browser from embedded instance?

When I run my Spring web application, I want Neo4J Browser to be available in my web browser to examine state of database. But I wasn't able to achieve it with or without servlet container. Based on these neo4j doc…
1
vote
1 answer

Comprehension pattern and neo4j-embedded

I have a problem when using comprehension with a neo4j-embedded (version 3.5.3). For exemple, this kind of query works perfectly fine with neo4j enterprise 3.5.3, but does not work with neo4j-embedded : MATCH (myNode:MyNode {myId:'myid'}) MATCH path…
jeleb
  • 633
  • 6
  • 14
1
vote
1 answer

how to use "apoc.util.md5" in embedded neo4j

I find some code examples here about enabling APOC in embedded neo4j. It is something like that i need to register the procedure's class. (but lack of description. wonder if there is official tutorial of that) I have added this in my pom.xml :…
Ian Chu
  • 15
  • 3
1
vote
1 answer

How to configure Neo4j embedded driver specified in ogm.properties?

My Java program looks for ogm.properties in an application-specific $DATA_DIR and loads a Configuration that it uses to construct a SessionFactory. The default ogm.properties uses the embedded driver and a file URI that points to a subdirectory of…
Kevin Krumwiede
  • 9,868
  • 4
  • 34
  • 82
1
vote
1 answer

How can I resolve java.lang.NoSuchMethodError: org.neo4j.helpers.collection.Iterables.toList(Ljava/lang/Iterable;)Ljava/util/List?

I'm trying insert nodes in neo4j using embedded neo4j in java, but I obtain this error, i'm using neo4j 3.1.1 and netbeans 7 Exception in thread "main" java.lang.NoSuchMethodError:…
hiline
  • 11
  • 3
1
2 3