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 those friends that are also on a path between A and another
> user B.
>
> We know how to find paths, but we fail at returning nodes - let alone sets
> of nodes.
>
> The old ReturnableEvaluator seemed to achieve just that: "A client hook for
> evaluating whether a specific node should be returned from a traverser.",
> but that is deprecated in the current milestone release. We're unable to
> find the equivalent functionality with the new Traversal framework.

ReturnableEvaluator is like controlling the INCLUDE/EXCLUDE part of an
evaluation
StopEvaluator is like controlling the CONTINUE/PRUNE part of an evaluation

The @Deprecated TraversalDescription#prune and #filter are also a
direct mapping of StopEvaluator and ReturnableEvaluator respectively.
Evaluator replaces those and combines them into one concept where you
can express the same semantics.

>
> Thanks
> Stephan
>
>
>
> On Thu, Apr 7, 2011 at 09:35, Mattias Persson 
> <matt...@neotechnology.com>wrote:
>
>> 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
>> _______________________________________________
>> 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
>



-- 
Mattias Persson, [matt...@neotechnology.com]
Hacker, Neo Technology
www.neotechnology.com
_______________________________________________
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to