Hi there,
if you start up the Neo4j server against your existing database (by
configuring the database path in conf/neo4j-server.properties), you
should be able to see the data. then, doing new RestGraphDatabase(url)
against that server will give you access to the DB from your Java
application.
Then, you can just execute queries against the database like
start sNode = node:myIds(id='xyz') match sNode-[r]-() return sNode,
sNode.myID, r
to return a node with your custom ID and its relationships. You will
have to index the nodes with your custom ID in order to make them
searchable of course.
Does that make sense?
Cheers,
/peter neubauer
G: neubauer.peter
S: peter.neubauer
P: +46 704 106975
L:
http://www.linkedin.com/in/neubauer
T: @peterneubauer
If you can write, you can code - @coderdojomalmo
If you can sketch, you can use a graph database - @neo4j