Thanks for the reply. I must admit that we are rather basic in our understanding of the Rest API. We normally just submit queries through the cypher-shell and the web tool.
Does your mod allow for any query to be multi threaded? Even the one that I suggested above ? neo4j-sh (?)$ START r=rel(*) return distinct type(r) ; In addition, how might I use the modification to code: match (n:Entity)-[*4]-(m) where n.name="fred" return m.name limit 1000; i.e. How would I invoke your modification from the cypher-shell ? If this is a generic query speed up, why isn't it adopted by the Neo4j Core ? Wayne. On Thursday, 16 February 2017 20:49:22 UTC, Max De Marzi Jr. wrote: > > You can multi-thread a query manually. Take a look at > https://maxdemarzi.com/2017/01/06/multi-threading-a-traversal/ > > On Tuesday, February 14, 2017 at 7:01:44 PM UTC-6, > [email protected] wrote: >> >> >> Hi, >> >> I often run deep/complex queries on my very large data-set that some take >> hours of run-time. >> These queries appear to be single threaded and make little use of the >> available CPU resources. >> Am I missing something or is there a way to parallelise queries ? >> >> A simple example might be, but not limited to 'get all of my unique >> relationships': >> >> neo4j-sh (?)$ START r=rel(*) return distinct type(r) ; >> >> If it is not possible to paralise queries, then I presume that this is a >> limitation of Java ? If so, has anyone considered re-writing Neo4j in a >> HPC >> language such as OpenMP ? >> >> Thanks, Wayne. >> > -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
