Re: [Neo4j] Constructing an evaluator that only takes specific nodes from a path

2011-04-07 Thread Stephan Hagemann
Hi guys, Dario and I are working together on this, so let me clarify, what we want to achieve. An example query in a friend network would be: Retrieve a set of people P that are the direct friends of person A. P should include only those friends that are also on a path between A and another user

Re: [Neo4j] Constructing an evaluator that only takes specific nodes from a path

2011-04-07 Thread Stephan Hagemann
including/excluding nodes whereas when describing the Evaluations you spoke about including/excluding paths. Which of those is correct ? Cheers Michael Am 07.04.2011 um 10:40 schrieb Mattias Persson: 2011/4/7 Stephan Hagemann stephan.hagem...@googlemail.com: Hi guys, Dario and I

Re: [Neo4j] Constructing an evaluator that only takes specific nodes from a path

2011-04-07 Thread Stephan Hagemann
Thanks, that will help! Iwill try defining my own uniqueness criteria. Oh, so if any node in the path has been returned in any other path before if (except the start node) then exclude it? That's the first time I've heard that requirement. Love the fact that you sent a picture, guys :)

[Neo4j] Number of nodes/relationships visited in query?

2011-04-10 Thread Stephan Hagemann
Hi all, is there a way for me to get to the number of nodes or relationships that the graph algorithms (like ShortestPath) have visited and output it with the result of the query? I would like to do that to analyze the performance and load of query processing. Any ideas? Thanks! Stephan

Re: [Neo4j] Number of nodes/relationships visited in query?

2011-04-11 Thread Stephan Hagemann
Hi Tobias, yes! Since computation isn't performed until actually requested (when the iterator is iterated over), and since the Iterable could give a different result when you iterate over it subsequent times (due to the graph being modified), the Iterator object is the only object where I

[Neo4j] Smarter expander needed?

2011-04-11 Thread Stephan Hagemann
Hi all, the reason I asked the question about counting the number of visited nodes earlier is that we are running into performance issues when working with different expanders. Our graph contains *user* and *company* nodes. There are a lot more users than companies. Users are connected through

Re: [Neo4j] Smarter expander needed?

2011-04-11 Thread Stephan Hagemann
/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 Mon, Apr 11, 2011 at 4:14 PM, Stephan Hagemann

Re: [Neo4j] Any method to count nodes and relationships in a traversal framework

2011-04-13 Thread Stephan Hagemann
Hi Gunda, I believe you are asking fir the same thing I asked for a couple of days ago. Check this thread: http://lists.neo4j.org/pipermail/user/2011-April/007932.html As the discussion shows, this feature is currently not available but probably interesting in a lot of settings. At least for

[Neo4j] Starting neo4j Server doesn't return to promt

2011-04-18 Thread Stephan Hagemann
Hello group, I just realized that since upgrading to Neo4j 1.3 my deployment is broken. It seems to be due to the fact that when starting up, the server does not return to a prompt (I noticed this locally also - I need to press enter to get the prompt). Vlad (the deployment script) thus probably

[Neo4j] Start script of 1.4.M05/1.4.M06 fails with older versions of bash + FIX

2011-07-06 Thread Stephan Hagemann
Hi everyone, a rather old linux installation on our build server led us to find out that the new start script introduced in M05 (?) does not work with all versions of bash. We got: cruise:/virtual/hudson/hudson_home/jobs/graphdb/workspace# /opt/neo4j/bin/neo4j start /opt/neo4j/bin/neo4j: line