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

2011-04-07 Thread Tobias Ivarsson
That would be EXCLUDE_AND_PRUNE. On Thu, Apr 7, 2011 at 7:58 AM, Dario Rexin dario.re...@xing.com wrote: Hi Peter, yes that would be not to include the path in the result set. On 07.04.2011, at 07:01, Peter Neubauer peter.neuba...@neotechnology.com wrote: Dario, I am not quite sure I

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

2011-04-07 Thread Mattias Persson
INCLUDE_AND_CONTINUE the path will be included in the result set and the traversal will go further down that path INCLUDE_AND_PRUNE the path will be included in the result set, but the traversal will continue from that path EXCLUDE_AND_CONTINUE the path won't be included in the result

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

2011-04-07 Thread Mattias Persson
Sory, I meant INCLUDE_AND_PRUNE    the path will be included in the result set, but the traversal won't go further down that path, but will continue down other paths that haven't been pruned -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com

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 Mattias Persson
2011/4/7 Stephan Hagemann stephan.hagem...@googlemail.com: 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

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

2011-04-07 Thread Michael Hunger
I think the confusing thing here is that ReturnableEvaluator talked about 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

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

2011-04-07 Thread Stephan Hagemann
If they are indeed equivalent, Michael is right - then I was confused by the doc talking about nodes vs the other talking about paths. On Thu, Apr 7, 2011 at 10:43, Michael Hunger michael.hun...@neotechnology.com wrote: I think the confusing thing here is that ReturnableEvaluator talked about

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

2011-04-07 Thread Mattias Persson
2011/4/7 Michael Hunger michael.hun...@neotechnology.com: I think the confusing thing here is that ReturnableEvaluator talked about including/excluding nodes whereas when describing the Evaluations you spoke about including/excluding paths. Oh, sorry... one major difference from the old

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

2011-04-07 Thread Mattias Persson
2011/4/7 Stephan Hagemann stephan.hagem...@googlemail.com: Thanks for clearing that up! Then I can come back to my initial comment. If the Evaluator returns paths and we are looking for nodes (sets of nodes to be specific), we have no easy mechanism that will ensure we do not return duplicate

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 :)

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

2011-04-06 Thread Peter Neubauer
Dario, I am not quite sure I understand what you mean by drop is that not to include the path into the result or prune or something else? Do you have a concrete example of this, maybe a simple toy graph test with toy information? Cheers, /peter neubauer GTalk:      neubauer.peter Skype      

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

2011-04-06 Thread Dario Rexin
Hi Peter, yes that would be not to include the path in the result set. On 07.04.2011, at 07:01, Peter Neubauer peter.neuba...@neotechnology.com wrote: Dario, I am not quite sure I understand what you mean by drop is that not to include the path into the result or prune or something else?