Re: [Neo4j] Fwd: Sync databases

2011-09-14 Thread Xavier Shay
From: *Eddy Respondek* eddy.respon...@gmail.com Date: Wed, Sep 14, 2011 at 11:30 AM To: gremlin-us...@googlegroups.com This may be a little off topic but maybe someone has done something similar before. Basically I have a separate Wordpress site (php/mysql) which I've been extending

[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

Re: [Neo4j] Returning arbitrary data from gremlin

2011-09-11 Thread Xavier Shay
On Sun, Sep 11, 2011 at 9:26 AM, espeed ja...@jamesthornton.com 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

Re: [Neo4j] Gremlin pipes broken in 1.5

2011-09-10 Thread Xavier Shay
/peterneubauer http://www.neo4j.org - Your high performance graph database. http://startupbootcamp.org/- Ă–resund - Innovation happens HERE. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Fri, Sep 9, 2011 at 10:03 PM, Xavier Shay xavier+ne

Re: [Neo4j] Aggregate queries

2011-09-10 Thread Xavier Shay
query. * I'm thinking perhaps the aggregate step would be useful, but I haven't figured out how to use it yet. * I will unroll the loop as Marko suggested when I get to optimizing it Thanks for all the help, Xavier On Thu, Sep 8, 2011 at 9:32 AM, Xavier Shay xavier+ne...@squareup.comwrote: Thanks

[Neo4j] Gremlin pipes broken in 1.5

2011-09-09 Thread Xavier Shay
Hello, I have just upgraded to neo4j 1.5 (brew install neo4j --HEAD) and am getting the following exception whenever I try to use a pipe: curl -H Accept:application/json -X POST -d '{script:g.v(1)._().both;}' -H Content-Type:application/json

Re: [Neo4j] Gremlin pipes broken in 1.5

2011-09-09 Thread Xavier Shay
, Xavier Marko. http://markorodriguez.com On Sep 9, 2011, at 1:29 PM, Xavier Shay wrote: Hello, I have just upgraded to neo4j 1.5 (brew install neo4j --HEAD) and am getting the following exception whenever I try to use a pipe: curl -H Accept:application/json -X POST -d '{script:g.v(1

Re: [Neo4j] Aggregate queries

2011-09-08 Thread Xavier Shay
Thanks everyone, this gives me plenty to work with. Will report back. On Thu, Sep 8, 2011 at 7:03 AM, Marko Rodriguez okramma...@gmail.comwrote: Hey, Won't this count dupes more than once? Xavier's requirements of how many other nodes are they connected sounds like you should only

[Neo4j] Aggregate queries

2011-09-07 Thread Xavier Shay
Hello, Is there an effective way to run aggregate queries over neo4j database? I'm currently running a stock install of the REST server, and want to answer questions like: For all nodes in a particular index, how many other nodes are they connected to at depth X? Currently I have a script that