[Neo4j] finding commonalities between people

2011-05-29 Thread Marcelo Barbudas
Hi, I'm a neo4j newbie so I apologize for my (most likely naive) questions. What's the best way to find commonalities between two people (based on likes)? Is it possible to put a weight on the like relationship? Like for example if someone likes fish a lot more than bread. I found this

Re: [Neo4j] finding commonalities between people

2011-05-29 Thread Marcelo Barbudas
Hey Jim, This list is pretty friendly, and since Neo4j is quite new itself we're all newbies one way or another :-) Thanks for making me feel welcome. What's the best way to find commonalities between two people (based on likes)? Is it possible to put a weight on the like relationship?

Re: [Neo4j] finding commonalities between people

2011-05-29 Thread Marcelo Barbudas
performance graph database. http://startupbootcamp.org/- Ă–resund - Innovation happens HERE. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Sun, May 29, 2011 at 9:37 PM, Marcelo Barbudas nos...@gmail.com wrote: Hey Jim, This list is pretty friendly, and since Neo4j

Re: [Neo4j] finding commonalities between people

2011-05-31 Thread Marcelo Barbudas
Guys, the plugin is now cloned to Neo4j, https://github.com/neo4j/neo4j-gremlin-plugin and part of the build process. I am waiting to get it built, there are some build before. Will post to the list when you can download it (and use it with a Neo4j Snapshot build) if that is ok? Super!

[Neo4j] gremlin rest plugin and map

2011-06-15 Thread Marcelo Barbudas
Hello neo4j, I'm trying to run via the gremlin server plugin a query like: m=[:];n.outE.inV.inE.outV.groupCount(m);m.sort{a,b - b.value = a.value}; m; This doesn't output anything. I tried m.keySet() and that doesn't return anything either. Any ideas how I could make this work? -m.

Re: [Neo4j] gremlin rest plugin and map

2011-06-15 Thread Marcelo Barbudas
Hey Marko, Wow, that was an *unbelievably* fast response. Amazing. Question: where are you setting the variable 'n' ? Is that Gremlin plugin thing? It's unrelated to the neo4j plugin. Just an easy way for me to set up a starting node. -m. ___

Re: [Neo4j] gremlin rest plugin and map

2011-06-15 Thread Marcelo Barbudas
n.outE.inV.inE.outV.groupCount(m) -1;m.sort{a,b - b.value = a.value} Yep, this versions runs and returns. However the returned values from the web interface are different from the ones via the gremlin plugin. -m. ___ Neo4j mailing list

Re: [Neo4j] gremlin rest plugin and map

2011-06-15 Thread Marcelo Barbudas
party. On Wed, Jun 15, 2011 at 9:28 PM, Marcelo Barbudas nos...@gmail.com wrote: n.outE.inV.inE.outV.groupCount(m) -1;m.sort{a,b - b.value = a.value} Yep, this versions runs and returns. However the returned values from the web interface are different from the ones via the gremlin

Re: [Neo4j] gremlin rest plugin and map

2011-06-15 Thread Marcelo Barbudas
at 9:51 PM, Marcelo Barbudas nos...@gmail.com wrote: Hey Peter, I think I understand. So that means I can get a sort listed of nodes (the contents of m keys), but not the actual number on which the sorting was based (m values)? -m. On 06/15/2011 10:46 PM, Peter Neubauer wrote: Marcelo

Re: [Neo4j] gremlin rest plugin and map

2011-06-15 Thread Marcelo Barbudas
://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, Jun 15, 2011 at 10:10 PM, Marcelo Barbudas nos...@gmail.com wrote: I was doing