[Neo4j] Re: search but exclude connections to a specific node

2014-07-12 Thread Anshuman Ghosh
Never mind, I figured it out by using AND NOT ((someone)<-[:friend]-(:people {profileID:12345}) Where 12345 is the profile of the user who is searching and whose friends should be excluded from the search. Cheers On Friday, July 11, 2014 7:15:07 PM UTC+1, Anshuman Ghosh wrote: > >

[Neo4j] search but exclude connections to a specific node

2014-07-11 Thread Anshuman Ghosh
Dear All, Some background: I have "people" nodes and "things" nodes. People nodes have personID property and are connected with "friends" relationships. People and things are connected by "likes" relationships (think Facebook). The query is run by a person, search for others who like a certai