Need advice: keeping graph data segmented by user

25 views
Skip to first unread message

Henry Hwangbo

unread,
May 23, 2013, 11:04:17 PM5/23/13
to ne...@googlegroups.com
I have an interesting situation. I am allowing users to provide their own data sources to be imported into neo4j. The data sources could be the same across different users, but I would like cypher queries to only query nodes and relations specified by a particular user's sources.

I can think of several ways to do this:

1 separate neo4j instances for each user
2 tag nodes and relationships by user

Currently node duplicates are prevented by indexes so I would have to alter that approach since nodes which already exist simply cause a new relationship to that node. Number of relationships to a node are used in my analysis so separating relationships by user are important.

Perhaps just tag relationships?

Thoughts appreciated.
Henry

Henry Hwangbo

unread,
May 28, 2013, 10:26:08 PM5/28/13
to ne...@googlegroups.com

Peter Neubauer

unread,
May 30, 2013, 4:52:56 AM5/30/13
to Neo4j User
Answered there, thanks!


Cheers,

/peter neubauer

G:  neubauer.peter
S:  peter.neubauer
P:  +46 704 106975
L:   http://www.linkedin.com/in/neubauer
T:   @peterneubauer

Neo4j 1.9 GA is out - http://blog.neo4j.org/2013/05/neo4j-19-general-availability.html
Neo4j questions? Please use SO - http://stackoverflow.com/search?q=neo4j


--
You received this message because you are subscribed to the Google Groups "Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email to neo4j+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages