Re: [Neo4j] How to check if a relation already exists in neo4j

2010-09-30 Thread Mattias Persson
? (Andreas Ronge) 3. Re: How to check if a relation already exists in neo4j graph (Arijit Mukherjee) 4. Re: How to check if a relation already exists in neo4j (Francois Kassis) -- Message: 1 Date

Re: [Neo4j] How to check if a relation already exists in neo4j graph

2010-09-29 Thread Arijit Mukherjee
Hi Francois I posted a similar question about a month ago. Here's what Mattias said in his reply: Looping through relatiomships manually is the way to go. However there's a new component in https://svn.neo4j.org/laboratory/components/lucene-index/ which can index relationships and do fast

Re: [Neo4j] How to check if a relation already exists in neo4j

2010-09-29 Thread Francois Kassis
Date: Tue, 28 Sep 2010 11:53:00 +0300 From: Francois Kassis francois_kas...@hotmail.com Subject: [Neo4j] How to check if a relation already exists in neo4j graph To: user@lists.neo4j.org user@lists.neo4j.org Message-ID: snt117-w4930c216010495edd5bf4f8d...@phx.gbl Content-Type: text/plain

Re: [Neo4j] How to check if a relation already exists in neo4j

2010-09-29 Thread Rick Otten
do I sort Lucene results by field value, and numerical range queries ? (Mattias Persson) 2. Re: How do I sort Lucene results by field value, and numerical range queries ? (Andreas Ronge) 3. Re: How to check if a relation already exists in neo4j graph (Arijit Mukherjee

[Neo4j] How to check if a relation already exists in neo4j graph

2010-09-28 Thread Francois Kassis
Hi all, I am using the python version of neo4j. if i have n1, n2 as two nodes and KNOWS a relation between n1 and n2 in a graph. n2.KNOWS(n1): How to check if there is a relation KNOWS between n1 and n2?n2.MAILED(n1, on=123456789) and n2.MAILED(n1, on=987654321): How to check that MAILED