[Neo4j] cypher variable relationships

F. De Haes fille at nibewege.org
Tue Sep 27 13:58:18 CEST 2011


Peter, mind I'm developing on windows, and the windows snapshot just doesn't
work.

Andrés, yes I tried it in 'Neo4j - Graph Database Kernel 1.5.M01', with
^1..3 and gives error ==> `]' expected `^' found.

2011/9/27 Andres Taylor <andres.taylor at neotechnology.com>

> On Tue, Sep 27, 2011 at 11:29 AM, F. De Haes <fille at nibewege.org> wrote:
>
> > Hi all,
> >
> > I tried this cypher query both in the console of the stable and in the
> > milestone release, but it produces the same error:
> >
> > start a=(123) match b-[:`Runs on`^1..3]->a return distinct b
> >
>
> I'm sure that variable length paths did not make it into 1.4, so that's
> understandable. The milestone release did have that in though... Are you
> sure you tried with the milestone and not snapshot? The syntax has changed
> in 1.5-SNAPSHOT. Try this:
>
> start a=(123) match b-[:`Runs on`*1..3]->a return distinct b
>
> HTH,
>
> Andrés
> _______________________________________________
> Neo4j mailing list
> User at lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>


More information about the User mailing list