Re: [Neo4j] K-hop Query Using Cypher

2016-04-13 Thread 'Michael Hunger' via Neo4j
yes sure :) MATCH (a:Person{name:1})-->(b)-->(c) with collect(DISTINCT b) as nodesDist1, c MATCH (c)-->(d) with nodesDist1, filter(n in collect(DISTINCT c) WHERE NOT n in nodesDist1) as nodesDist2,collect(DISTINCT d) as nodesDist3 RETURN nodesDist1,nodeDist2, filter(n in nodesDist3

Re: [Neo4j] using various alternatives to create a Neo4j database for the first time

2016-04-13 Thread 'Guenter Hipler' via Neo4j
Yes, it was a nice day in the C-Base Raumstation. I'm located in Switzerland, Basel and I'm working for the swissbib project (https://www.swissbib.ch/) that's the reason why I'm going to meet people from SLUB to get more familiar with their D:Swarm solution. So in general Dresden is far away...

[Neo4j] About indexes

2016-04-13 Thread Kamilos
Hello, I have 2 questions about index. 1) I saw that neo4j doesn"t allow to choose the type of index we want when creating an index. So what's the default index that is used, a Btree ? 2) In the docs, I have seen we can configure the database to use the Lucene index. What's the benefit of it ?

Re: [Neo4j] K-hop Query Using Cypher

2016-04-13 Thread Kamilos
Le mercredi 13 avril 2016 09:39:53 UTC+2, Michael Hunger a écrit : > > Try this: > > MATCH (a:Person{name:1})-->(b)-->(c)-->(d) > with collect(DISTINCT b) as nodesDist1, collect(DISTINCT c) as > nodesDist2,collect(DISTINCT > d) as nodesDist3 > RETURN nodesDist1, > filter(n in no

Re: [Neo4j] optional match

2016-04-13 Thread 'Michael Hunger' via Neo4j
Please share your full query. On Wed, Apr 13, 2016 at 12:32 PM, Marwa Elabri wrote: > i want to use a match close after an optional match close and this return > an error that i have to use a with close between them when i try to make > this > this still do not work > > > -- > You received this

[Neo4j] optional match

2016-04-13 Thread Marwa Elabri
i want to use a match close after an optional match close and this return an error that i have to use a with close between them when i try to make this this still do not work -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this

[Neo4j] Reverse proxy with apache2

2016-04-13 Thread etriks . cc
Hi, I'm trying to configure a reverse proxy with apache2 for neo4j which is running on port 7470. My neo4j version is 2.3.1. I've setup this on my virtualhost : RequestHeader set X-Forwarded-Proto "http" RewriteEngine On RewriteCond %{REQUEST_URI}/browser ^/browser [NC,OR] ProxyPass

Re: [Neo4j] K-hop Query Using Cypher

2016-04-13 Thread 'Michael Hunger' via Neo4j
Try this: MATCH (a:Person{name:1})-->(b)-->(c)-->(d) with collect(DISTINCT b) as nodesDist1, collect(DISTINCT c) as nodesDist2,collect(DISTINCT d) as nodesDist3 RETURN nodesDist1, filter(n in nodesDist2 WHERE NOT n in nodesDist1) as nodesDist2, filter(n in nodesDist

Re: [Neo4j] Re: from Spreadsheets to Graph vs relational for School Use-Case

2016-04-13 Thread 'Michael Hunger' via Neo4j
Great answer Josh ! On Wed, Apr 13, 2016 at 1:50 AM, wrote: > Richard, > > It sounds like you've got a good handle on your data. Before you choose an > engine, I recommend you figure out how you will query it. What are the > questions you are asking of the data? > > If you have particularly grap

[Neo4j] Re: from Spreadsheets to Graph vs relational for School Use-Case

2016-04-13 Thread josh
Richard, It sounds like you've got a good handle on your data. Before you choose an engine, I recommend you figure out how you will query it. What are the questions you are asking of the data? If you have particularly graphy questions, such as ones where you focused on the network of student