[Neo4j] How to find the longest path from a Node

2014-05-31 Thread Quazi Marufur Rahman
Hi, I have created a DAG using relationship like a-[:parent_of]-b. How can I find the longest path starting from 'a' using cypher query? Thanks -- You received this message because you are subscribed to the Google Groups Neo4j group. To unsubscribe from this group and stop receiving emails

Re: [Neo4j] How to find the longest path from a Node

2014-05-31 Thread Michael Hunger
Simplest but probably not most efficient: MATCH path=(a:Label {name:Name A})-[:parent_of*]-b RETURN path, length(path) as len ORDER BY len DESC LIMIT 1 On Sat, May 31, 2014 at 11:50 AM, Quazi Marufur Rahman maruf.c...@gmail.com wrote: Hi, I have created a DAG using relationship like

[Neo4j] Neo4j 2.0 to 2.1 Upgrade Fails When Neo4j Running as a Windows Service

2014-05-31 Thread Jim Salmons
This issue has surfaced a number of times in various flavors, particularly when an explicit upgrade (non-automatic requiring allow_store_upgrade=true) is involved and the culprit seems to be this: - If you run Neo4j as a Windows Service (having installed via Neo4jInstaller.bat and using

[Neo4j] issues with the Superfast Batch Importer

2014-05-31 Thread Rich Morin
I've been trying out the new Superfast Batch Importer: https://github.com/neo4j-contrib/superfast-batch-importer It looks very promising, but I'm having a few problems. Help? Background My real files will be enormous (eg, 100M rels), so I'm using moderate-sized test files: $ wc -l

Re: [Neo4j] issues with the Superfast Batch Importer

2014-05-31 Thread Michael Hunger
What do your files look like, can you show the first 10 lines of each? On Sun, Jun 1, 2014 at 12:33 AM, Rich Morin r...@cfcl.com wrote: I've been trying out the new Superfast Batch Importer: https://github.com/neo4j-contrib/superfast-batch-importer It looks very promising, but I'm having

Re: [Neo4j] issues with the Superfast Batch Importer

2014-05-31 Thread Michael Hunger
Rich, thanks so much for looking into it. as far as I understood, this new implementation does not yet support external id's (i.e. those index-lookups). I'm working in parallel on another version that integrates with new kernel-level APIs that provide a similar functionality but will also