Sure, it's based on the shortestPath plugin example from the docs and is
quite simple:
https://gist.github.com/1472918

Best regards,
Petar



On Tue, Dec 13, 2011 at 5:58 PM, Peter Neubauer <
peter.neuba...@neotechnology.com> wrote:

> Cool.
> Got that plugin somewhere?
>
> Cheers,
>
> /peter neubauer
>
> TC CEO of the year - vote for Emil Eifrém!
> http://crunchies2011.techcrunch.com/nominate/
>
> Google:neubauer.peter
> Skype:peter.neubauer
> Phone: +46 704 106975
> LinkedIn   http://www.linkedin.com/in/neubauer
> Twitter      @peterneubauer
>
> brew install neo4j && neo4j start
> heroku addons:add neo4j
>
>
>
> On Tue, Dec 13, 2011 at 4:52 PM, Petar Dobrev
> <petar.dob...@myphilanthropedia.org> wrote:
> > Hey folks,
> >
> > just wanted to let you know that I tested it with Neo4j Community 1.6M01
> > and can't reproduce the problem. It seems that it got fixed somewhere
> along
> > the way. :)
> >
> > Iterating through the depth levels and calling pathsWithLength is still
> > faster than allSimplePaths for depths > 5 for me, so I'm going to stick
> to
> > it. Even wrote a small plugin for my server to do that.
> >
> > Thanks a lot for the great work!
> >
> > Best regards,
> > Petar.
> >
> >
> >
> > On Mon, Nov 28, 2011 at 12:16 PM, Mattias Persson <
> matt...@neotechnology.com
> >> wrote:
> >
> >> I think I'd need your dataset to be able to reproduce and fix it, would
> >> that be possible?
> >>
> >> 2011/11/25 Petar Dobrev <petar.dob...@myphilanthropedia.org>
> >>
> >> > On Fri, Nov 25, 2011 at 7:59 PM, Mattias Persson
> >> > <matt...@neotechnology.com>wrote:
> >> >
> >> > >
> >> > > Correct, it finds paths on that depth only. If other paths are
> >> > encountered
> >> > > along the way they aren't returned.
> >> > >
> >> > >
> >> >
> >> > However, in the example I provided it misses a path that is present on
> >> the
> >> > desired depth, that's what I was actually wondering about.
> >> >
> >> > In this example:
> >> >
> >> > The source of the testing program is here:
> >> https://gist.github.com/1391654
> >> > Output before adding the additional relationship:
> >> > https://gist.github.com/1391668
> >> > Output after adding the additional relationship:
> >> > https://gist.github.com/1391661
> >> >
> >> > shortestPath misses one path (at depth 3) unless an additional
> >> relationship
> >> > is present, which is unrelated to the paths between the nodes.
> >> >
> >> > Petar
> >> > _______________________________________________
> >> > 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
> >>
> >
> >
> >
> > --
> > Petar Dobrev
> > Engineer
> > Philanthropedia
> > http://www.myphilanthropedia.org
> > _______________________________________________
> > NOTICE: THIS MAILING LIST IS BEING SWITCHED TO GOOGLE GROUPS, please
> register and consider posting at
> https://groups.google.com/forum/#!forum/neo4j
> >
> > Neo4j mailing list
> > User@lists.neo4j.org
> > https://lists.neo4j.org/mailman/listinfo/user
> _______________________________________________
> NOTICE: THIS MAILING LIST IS BEING SWITCHED TO GOOGLE GROUPS, please
> register and consider posting at
> https://groups.google.com/forum/#!forum/neo4j
>
> Neo4j mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>



-- 
Petar Dobrev
Engineer
Philanthropedia
http://www.myphilanthropedia.org
_______________________________________________
NOTICE: THIS MAILING LIST IS BEING SWITCHED TO GOOGLE GROUPS, please register 
and consider posting at https://groups.google.com/forum/#!forum/neo4j

Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to