If you'll be adding/removing nodes constantly, definitely use Lucene indexing rather than a zillion relationships on a single node. You'll create a big synchronization (performance) issue if you do. If you are "bulk loading" your graph, then I wouldn't worry about it.
________________________________________ From: [email protected] [[email protected]] On Behalf Of Matt Luongo [[email protected]] Sent: Saturday, May 14, 2011 11:19 AM To: [email protected] Subject: [Neo4j] Indexing vs 1.5 million relationships I'm dealing with a pretty common scenario- my nodes need to have a type hierarchy applied to them. The type hierarchy exists in the graph, and the leaves of the type tree have relationships to each instance of the type. However, most of my graph will be instances of a type. What I'm wondering is- would it be more performant to build a type hierarchy and retrieve instances through an index, or to stick with this architecture, and suffer 1.5 million relationships to a single type node? Thanks in advance, -- Matt Luongo Co-Founder, Scholr.ly _______________________________________________ Neo4j mailing list [email protected] https://lists.neo4j.org/mailman/listinfo/user _______________________________________________ Neo4j mailing list [email protected] https://lists.neo4j.org/mailman/listinfo/user

