Hi! If you have many graphs to store, you could index them somehow, using the index-util package: http://components.neo4j.org/index-util/
Or you could use the existing Btree class: http://components.neo4j.org/index-util/apidocs/org/neo4j/util/btree/BTree.html Or just do it like Tobias described! It all depends on your application. /anders John O'Hara wrote: > Hi, I was looking over the neo4j project, and after reading the > wiki/quickstart guide, I had a quick question that I > couldn't seem to find addressed anywhere? > > Can Neo4j store multiple independent graphs effectively? > > Rather than just storing one large graph in Neo4j, I'd like to a store a > collection of many independent (disconnected) > graphs. What is the best practice for dealing with this, and can it be done > effectively with Neo4j? How would I go > about finding all the independent graphs that I currently have stored? It > seems like I would need the > getReferenceNode() method to return me a list, instead of just a single node, > but I don't see any talk of this use case. > > > Could I query neo4j to find out how many graphs I have, and how big (in node > count, or edge count, or some metric) each > one is? > > > > Regards, > John > _______________________________________________ > Neo mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > _______________________________________________ Neo mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user