Re: [Neo4j] Getting an AST for a Cypher query?

2015-04-25 Thread Michael Hunger
I think you would have to write code to access the internal structures in the cypher compiler Most probably to return the data that's cached in the two execution plan caches The code is in the cypher-compiler modules for each version Von meinem iPhone gesendet > Am 25.04.2015 um 18:56 schrieb

[Neo4j] Getting an AST for a Cypher query?

2015-04-25 Thread Rich Morin
Ronja looks like a great addition to Neo4j. I'd like to leverage it for my own (exploratory) work. By way of background, the first stage of Neo4j 2.2's Cypher processing is to: *Convert the input query string into an abstract syntax tree (AST)* The input query string is first tokenized and the

Re: [Neo4j] Bipartite graph projection via Cypher query

2015-04-25 Thread Dan
Thanks Michael, that definitely works. A final question is there a way to do similar but to only return the links, not create them? I see that FOREACH statement is apparently used to write to database (update, create, etc). I was trying to see how to do similar but only return the links (not

Re: [Neo4j] chain relationships

2015-04-25 Thread cdu80 . 20
Hi Michael, Thanks a lot, it works fine. //Chargement du fichier LOAD CSV WITH HEADERS FROM 'file:c:/Users/Fred/Desktop/scripts-test.csv' AS row FIELDTERMINATOR ';' WITH row.Serveur as server, collect(row.Script) as scripts MERGE (s:Server {id:server}) WITH s,scripts,size(scripts) as size FOREAC