Xavier, I would put the load on the server side by either scripting something with Gremlin, http://docs.neo4j.org/chunked/snapshot/gremlin-plugin.html or write a Server Plugin taking your parameters and do the heavy lifting in Java, http://docs.neo4j.org/chunked/snapshot/server-plugins.html
Would that be an option? 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 - Your high performance graph database. http://startupbootcamp.org/ - Öresund - Innovation happens HERE. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Wed, Sep 7, 2011 at 9:24 PM, Xavier Shay <xavier+ne...@squareup.com> wrote: > 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 fires up a number of threads and just hammers > the server with an HTTP request per index entry to fetch the relationships, > then does some post-processing on the result to calculate the count. This > doesn't seem the most efficient way. > > What other options do I have? > > Cheers, > Xavier > _______________________________________________ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > _______________________________________________ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user