Hi Tim!

Maybe you can use the new traversal framework, this interface comes to mind:
http://components.neo4j.org/neo4j-kernel/apidocs/org/neo4j/graphdb/traversal/SourceSelector.html

Regarding the number of relationships, it could be a good idea to store 
it as a property on the node.

/anders

> Is there any way I can write a ReturnableEvaluator that can examine the
> collection of nodes related to the current node? Is this even the correct
> approach?
>
> I actually want to be able to return the 10 most popular routes to the
> registration page. For the most popular, I can use the above algorithm, but 
> for
> the second it's going to be more tricky.
>
> Would I be able to search for all 10 routes in a single pass, or should I
> perform multiple passes?
>
> Any help  would be really appreciated since I'm not really sure how to 
> approach
> this.
>
> Thanks,
> Tim
>
>
>
>
> _______________________________________________
> 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

Reply via email to