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
0
votes
1 answer

Neo4j Embedded Mode with Password

Can you connect to Neo4j in embedded mode in a Java application to connect to an existing running Neo4J server that requires a username and password? How do you do that? Apparently without authentication it is: graphDb = new…
0
votes
2 answers

Neo4j Embedded 2.2.1: Exception in thread "GC-Monitor" java.lang.OutOfMemoryError: Java heap space

I am trying to do my batch insertion to an existing database but I got the following exception: Exception in thread "GC-Monitor" java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(Arrays.java:2245) at …
Peter Sie
  • 175
  • 11
0
votes
1 answer

Neo4j embedded: filter on node properties using graph algorithm

I am using Neo4j embedded from eclipse and want to navigate through a network of trips and stations. They are connected the following way: (t:Trip)-[:STOPS {arrival:"10:12:00", departure:"10:13:00"}]->(s:Station) As a trip has several stops and…
d.r.91
  • 123
  • 1
  • 5
0
votes
3 answers

Add weight to a relationship using neo4j embedded java api

I would like to add a weight to a relationship using Embedded Neo4j Java API. For example : A knows B very well so their relationship should be weighted 5. On the other hand, A knows C very little so their relationship should be weighted 1. How can…
user1885868
  • 1,063
  • 3
  • 17
  • 31
0
votes
1 answer

Spring data neo4j embedded remote shell connection not allowed

I am trying to connect embedded server but always getting Caused by: java.io.IOException: Unable to lock org.neo4j.kernel.impl.nioneo.store.StoreFileChannel@5ceccc52 This is my configuration file. @Configuration @EnableNeo4jRepositories public…
erimerturk
  • 4,230
  • 25
  • 25
1 2
3