[Neo4j] SingleSourceShortestPathBFS calculates wrong paths

2014-06-27 Thread Georg Summer
Cross posting (and shamelessly selfpromoting) from here: http://cyneo4j.wordpress.com/2014/06/27/not-quite-the-shortest-paths-i-was-looking-for/ Neo4j version: neo4j-community 2.1.2 (also 2.1.1) Java: JDK 1.7.0_60 OS: MacOS X 10.6.8 In short: Given the following network:

[Neo4j] Closeness Centrality and SingleSourceShortestPathBFS

2014-05-27 Thread Georg Summer
Neo4j version: 2.0.3 SingleSourceShortestPathBFS is set to CostType=Integer via it implementing SingleSourceShortestPath. If I want to calculate the ClosenessCentrality if have to set it to ClosenessCentrality as well and its CostDivider too. An anonymous implementation would be (as in the test

[Neo4j] Array properties, Labels and Indices

2014-02-21 Thread Georg Summer
Let's say we have a mixed set of nodes that represent different types. All of these nodes have multiple properties. Some of these properties are arrays with ids of these types. node1.foonames = ["name1", "othername1",...] node1.ids = ["id1","yetanotherid1", ...] node2.barnames = ["name2"] node2

Re: [Neo4j] Content encoding

2014-01-28 Thread Georg Summer
small program that crawls all URLs of an neo4j instance and checks for these exceptions. On Tuesday, 28 January 2014 16:03:44 UTC+1, Nigel Small wrote: > > Yes, looks like that to me too. Good spot. Can someone from Neo confirm? > > > On 28 January 2014 14:35, Georg Summer >wro

Re: [Neo4j] Content encoding

2014-01-28 Thread Georg Summer
Sorry for dragging this post up but I think Neo4j 2.0 has the same problem on the transaction rest endpoint curl -v -X POST http://localhost:7474/db/data/transaction * About to connect() to localhost port 7474 (#0) * Trying 127.0.0.1... * Adding handle: conn: 0x100824000 * Adding handle: send:

Re: [Neo4j] extensions and /ext inconsistent?

2014-01-17 Thread Georg Summer
you raise an GH issue at > github.com/neo4j/neo4j/issues? > > Thanks a lot > > Michael > > Am 17.01.2014 um 14:38 schrieb Georg Summer > >: > > I installed the neo4j/community/server-example/ extensions in a fresh > neo4j-community 2.0 edition. &

[Neo4j] extensions and /ext inconsistent?

2014-01-17 Thread Georg Summer
I installed the neo4j/community/server-example/ extensions in a fresh neo4j-community 2.0 edition. results in: $ curl http://localhost:7474/db/data/ { "extensions" : { "GetAll" : { "get_all_nodes" : "http://localhost:7474/db/data/ext/GetAll/graphdb/get_all_nodes";, "getAllRelat

Re: [Neo4j] Neo4j within Cytoscape 3.x

2014-01-15 Thread Georg Summer
uer > P: +46 704 106975 > L: http://www.linkedin.com/in/neubauer > T: @peterneubauer > > Neo4j 2.0.0 - > (graphs)-[:FOR]->(everyone)<http://blog.neo4j.org/2013/12/neo4j-20-ga-graphs-for-everyone.html> > Do something useful - Teach your kids 1 hour code! <http://

[Neo4j] Neo4j within Cytoscape 3.x

2014-01-15 Thread Georg Summer
Neo4j Version: 2.0.0 Cytoscape Version: 3.0.1 Maven: 3.1.1 Java: 1.7.0_45 OpenJDK Runtime Environment (IcedTea 2.4.3) (ArchLinux build 7.u45_2.4.3-1-x86_64) Eclipse: 4.3.1 GOAL: The goal is to create an app for cytoscape 3.x (curr 3.0.1) that is able to connect to an instance of neo4j. APPROAC