Re: [Neo4j] Verifying the relationship between two nodes

2011-07-15 Thread Diego Alvarez Nogueira
ls(:USER).outgoing.to_other(user).empty? > > @users and user are your two nodes. > > So it would be: > > ! node1.rels(:knows).outgoing.to_other(node2).empty? > > Cheers > > Michael > > Am 15.07.2011 um 19:06 schrieb Diego Alvarez Nogueira: > >> Hi, >&

[Neo4j] Verifying the relationship between two nodes

2011-07-15 Thread Diego Alvarez Nogueira
knows, node1, node2) My question is, how can i verify if there is a relationship between the nodes with id="1" and id="2"? Thanks, Best, Diego Nogueira -- Atenciosamente, Diego Alvarez Nogueira Blog: http://diegonogueira.

Re: [Neo4j] Social network using neo4j, what's the best way?

2011-07-14 Thread Diego Alvarez Nogueira
our domain modeling makes it necessary / obvious that there are 2 >>> different relationships (from me to you and from you to me) then it makes >>> sense. >>> >>> Cheers >>> >>> Michael >>> >>> Am 14.07.2011 um 16:59 schri

Re: [Neo4j] Social network using neo4j, what's the best way?

2011-07-14 Thread Diego Alvarez Nogueira
;t have to create bidirectional relationships per se, only > if your domain modeling makes it necessary / obvious that there are 2 > different relationships (from me to you and from you to me) then it makes > sense. > > Cheers > > Michael > > Am 14.07.2011 um 16:59 schri

Re: [Neo4j] Social network using neo4j, what's the best way?

2011-07-14 Thread Diego Alvarez Nogueira
f users or > things to know). If it is just a simple categorization, you might just index > the tags + id's of tagged things. > > #5 good question probably redis. > > Cheers > > Michael > > > Am 14.07.2011 um 15:56 schrieb Diego Alvarez Nogueira: > &

[Neo4j] Social network using neo4j, what's the best way?

2011-07-14 Thread Diego Alvarez Nogueira
se to store tags and likes? 5- What's the best database to store statistics and feeds? Thanks! Best, Diego Nogueira -- Atenciosamente, Diego Alvarez Nogueira Blog: http://diegonogueira.com.br | http://papoinformal.com Skype: nogueiradieg