Re: [Neo4j] neo4j-scala improvements

2011-09-11 Thread Christopher Schmidt
Yes - thats possible. I think to have a repo would ease the usage of neo4j-scala. The next days (hope there is enough time) I will clean up and document the sources so that they are easier to understand. Next would be to update to the current versions of Neo4j, Neo4j Spatial and Scala. Actual, neo

Re: [Neo4j] Neo4j Write Performance

2011-09-11 Thread espeed
I added a ticket for this here... https://github.com/neo4j/community/issues/18 -- View this message in context: http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-Write-Performance-tp3323638p3327618.html Sent from the Neo4j Community Discussions mailing list archive at Nabble.com. ___

Re: [Neo4j] Returning arbitrary data from gremlin

2011-09-11 Thread Xavier Shay
On Sun, Sep 11, 2011 at 9:26 AM, espeed wrote: > Hi Xavier - > > If you would, provide a more detailed description of what the query is > trying to do. > We have a primary node type, which has outbound connections to secondary node types. A primary node will never have a direct connection to anot

Re: [Neo4j] [Neo4j graph-algo] AStar getCost function.

2011-09-11 Thread Peter Neubauer
Rafal, great you are looking into the guts of the A-Star! Do you have a test using it, so we can see what you are trying to do with some example data? Cheers, /peter neubauer GTalk:      neubauer.peter Skype       peter.neubauer Phone       +46 704 106975 LinkedIn   http://www.linkedin.com/in/ne

Re: [Neo4j] Returning arbitrary data from gremlin

2011-09-11 Thread Marko Rodriguez
Hi, Also, there table-step documentation for Gremlin is in "Pattern Match Pattern": https://github.com/tinkerpop/gremlin/wiki/Pattern-Match-Pattern Side note: t = t.collect { outN = it.outV.toList().get(0); inN = it.inV.toList().get(0); [outN.type, outN.key, inN.type, inN.key]

Re: [Neo4j] Returning arbitrary data from gremlin

2011-09-11 Thread Peter Neubauer
Xavier, also, for the table construction, have a look at the example at http://docs.neo4j.org/chunked/snapshot/gremlin-plugin.html#rest-api-send-a-gremlin-script---json-encoded-with-table-results, if that helps? Cheers, /peter neubauer GTalk:      neubauer.peter Skype       peter.neubauer Phone 

Re: [Neo4j] Returning arbitrary data from gremlin

2011-09-11 Thread espeed
Hi Xavier - If you would, provide a more detailed description of what the query is trying to do. You might look at the Gremlin aggregate, scatter, and gather methods, and I thought there was a collect() method, but I don't see it in the docs -- Marko, isn't/wasn't that method?). Here are some do

[Neo4j] Returning arbitrary data from gremlin

2011-09-11 Thread Xavier Shay
Hello, I've been playing with Gremlin over the weekend - thanks to all the help provided already on other threads, it has been really useful. I'm trying to optimize a query that currently takes three HTTP requests (index fetch, traverse, batch get for node data) by writing a Gremlin script and exe