It returns unique paths considering both nodes and relationships, so maybe
you're only looking at the nodes in the paths and sees that the paths aren't
unique in that aspect?

2011/7/29 Manav Goel <goyal.ma...@gmail.com>

> Hi
>        I was testing GraphAlgoFactory functions. I am getting duplicate
> results from this function.
>        I have 2 user nodes A and B and they follow something I1 and I2.
>
>       A-->I1, A-->I2
>      B-->I1 , B-->I2
>
>      Now I want to find shortest paths between A and B using relationship
> type between user and interest.When I execute the function it returns
>    A-->I1<--B many times which unnecessarily forces me to process duplicate
> entries.
>     How to solve this problem?
>
> Regards,
>
>
>
> --
> Manav Goel
> _______________________________________________
> 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