Re: [Neo4j] Category Nodes and Type Safety vs Performance and Scaling

2011-06-19 Thread Romiko Derbynew
Hi Guys, Small error. IEnumerable list = g.v(0).outE[[label:'HOSTS_COMPANY']].inV[[Key:'MyCompanyName']]. From: Romiko Derbynew Sent: Monday, 20 June 2011 3:56 PM To: Neo4j user discussions Cc: Tatham Oddie; Jamal Abreu (jab...@barnardos.org.au) Subject: Category Nodes and Type Safety vs Perfo

[Neo4j] Category Nodes and Type Safety vs Performance and Scaling

2011-06-19 Thread Romiko Derbynew
Hi Guys, We currently thinking of how we can get type safety when we do queries, one thing we do is have a category nodes, so e.g. Here is a sample query IEnumerable list = g.v(0).outE[[label:'HOSTS']].inV[[Key:'MyCompanyName']].inE[[label:'IS_COMPANY']].inV So the part highlighted in b

Re: [Neo4j] Multiple-source lowest-cost path search

2011-06-19 Thread Akhil
On 6/19/2011 7:11 PM, Giacomo Bernardi wrote: > I'd like to build a second graph in which each e in (S-E) is connected From what i understood, connecting S-E to an arbitary node A1 and S with another arbitary node A2 and finding the lowest cost shortest path between A1 and A2 should give you the

[Neo4j] Multiple-source lowest-cost path search

2011-06-19 Thread Giacomo Bernardi
Hello everyone, could you advice on the best way to do the following in neo4j? Given: - a graph G= on which each node has an associated positive cost - a subset of "source" nodes S in E. I'd like to build a second graph in which each e in (S-E) is connected to any one of the source nodes S via th

Re: [Neo4j] More spatial questions

2011-06-19 Thread Craig Taverner
Hi Nolan, I think I can answer a few of your questions. Firstly, some background. The graph model of the OSM data is based largely on the XML formated OSM documents, and there you will find 'nodes', 'ways', 'relations' and 'tags' each as their own xml-tag, and as a consequence each will also have

[Neo4j] ls command for trav in shell does not working

2011-06-19 Thread Pfeffer, Warren
According to the neo4j-sh help, there is a -c option to the trav command that should allow for executing the ls command on each node visited in a traversal. -c Command to run for each returned node. Use $i for node/relationship id, example: -c "ls -f name $i". Multiple commands can b

[Neo4j] More spatial questions

2011-06-19 Thread Nolan Darilek
Fortunately, recent changes seem to have made the memory leaks I was experiencing a few weeks ago to vanish. Apologies for not playing a more active part in these discussions, but I'm finding there to be a quite steep learning curve here, and I don't have the time to make a major push to overco

Re: [Neo4j] Rest API in the future

2011-06-19 Thread Peter Neubauer
http://docs.neo4j.org/chunked/snapshot/rest-api-batch-ops.html Cheers, /peter neubauer GTalk:      neubauer.peter Skype       peter.neubauer Phone       +46 704 106975 LinkedIn   http://www.linkedin.com/in/neubauer Twitter      http://twitter.com/peterneubauer http://www.neo4j.org              

Re: [Neo4j] Rest API in the future

2011-06-19 Thread Mattias Persson
2011/6/19 Jim Webber > Hello Aniceto, > > > - EmbeddedGraphDatabase, which is good for tests, supports transactions > > and has quick communications. Not good for medium sized or HA apps > > because lacks separation between app and data > > The EmbeddedGraphDatabase is fine for production use - i

Re: [Neo4j] Rest API in the future

2011-06-19 Thread Jim Webber
Hello Aniceto, > - EmbeddedGraphDatabase, which is good for tests, supports transactions > and has quick communications. Not good for medium sized or HA apps > because lacks separation between app and data The EmbeddedGraphDatabase is fine for production use - in fact it's the default choice!

[Neo4j] Neo4J in Rails using C-Ruby

2011-06-19 Thread Mathias Hensel
Hello, I plan to use Neo4J for a Ruby on Rails web app. However, I have not the possibility to use JRuby. Due to doubts of performance issues using the REST API, I'm considering to use the embedded graph database with means of the Ruby Java Bridge (RJB). The Ruby app then would talk to the J

[Neo4j] Rest API in the future

2011-06-19 Thread Aniceto Perez
I have downloaded neo4-rest-graphdb, a rest wrapper for Java. README file says this interface does not support transactions. So we have: - EmbeddedGraphDatabase, which is good for tests, supports transactions and has quick communications. Not good for medium sized or HA apps because lacks separ