i'm using batchinserter initialise neo4j database - data coming xml files on local filesystem.
suppose 1 set of files contains node information / properties, , set has relationship information. wanted 2 passes: create nodes, set creating relationships.
however, createrelationship method accepts long id nodes, don't have in relationship xml - of nodes have guid property called id use reference them.
does batchinsert mean hasn't been indexed yet, won't able create relationships on nodes based on other property?
i keep node-attribute id mapping in cache in memory in efficient collection implementation trove or so.
then relationships can node-id attribute.
Comments
Post a Comment