Interesting. That's assuming a person and an organization can share the same name. Maybe an edge case in this example, but I can understand. Thanks.
Aseem On Thu, May 5, 2011 at 12:58 AM, Mattias Persson <matt...@neotechnology.com>wrote: > Let's say you have persons and organisations in your graph... they both > have > the "name" property. Now you could index both persons and organisations in > the same index with the "name" property, but then you'd get mixed results > back. Or you could invent some key convention, like "org_name" and > "person_name" but then the key will differ from the actual property key. > Whereas that is possible the more natural separation would be to have those > in two separate indexes, one called "persons" and one called > "organisations" > and just index the "name" properties for the corresponding entities in > there. > > 2011/5/5 Aseem Kishore <aseem.kish...@gmail.com> > > > Does anyone here actually use multiple node/relationship indices? If so, > > I'd > > love to understand the use case. What do multiple indices get you that > you > > couldn't get with just one index? > > > > Thanks, > > > > Aseem > > _______________________________________________ > > Neo4j mailing list > > User@lists.neo4j.org > > https://lists.neo4j.org/mailman/listinfo/user > > > > > > -- > Mattias Persson, [matt...@neotechnology.com] > Hacker, Neo Technology > www.neotechnology.com > _______________________________________________ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > _______________________________________________ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user