Re: [Neo4j] apoc.load.xml

2017-12-13 Thread Koen Kleingeld
Hi, this seems to work (with file:/// .. i.e 3 slashed) although i assumed that the file location could be relative to the import directory and i did not get a file not found error .. anyways .. thanks ! regards koen 2017-12-13 14:45 GMT+01:00 'Michael Hunger' via Neo4j < neo4j@googlegroups.co

Re: [Neo4j] apoc.load.xml

2017-12-13 Thread 'Michael Hunger' via Neo4j
try file://path/to/test.xml On Wed, Dec 13, 2017 at 2:27 PM, koen wrote: > Hi, i am trying to load an xml file but keep getting an error like: > > Failed to invoke procedure `apoc.load.xml`: Caused by: java.lang.Exception: > java.net.UnknownHostException: test.xml > > the cypher query: > > ca

[Neo4j] apoc.load.xml

2017-12-13 Thread koen
Hi, i am trying to load an xml file but keep getting an error like: Failed to invoke procedure `apoc.load.xml`: Caused by: java.lang.Exception: java.net.UnknownHostException: test.xml the cypher query: call apoc.load.xml('file://test.xml','',{},TRUE) YIELD value return value I can access apo

Re: [Neo4j] Re: The "limit" for cypher query result

2017-12-13 Thread 'Michael Hunger' via Neo4j
see: https://neo4j.com/blog/cypher-graphql-neo4j-3-1-preview/ On Wed, Dec 13, 2017 at 4:37 AM, Liping Huang wrote: > Thanks very much. > > The cypher like this > > > > *MATCH (:Movie{title:'The Matrix'})<-[:ACTED_IN]-(p:Person)RETURN p, > [(p)-[:ACTED_IN]->(m) | m][..3] as movies* > > resolve m