Just pinged Andres on this. The r:TYPE is the culprit.

Sent from my phone.
On Jul 3, 2011 12:06 AM, "Craig Taverner" <[email protected]> wrote:
> Hi,
>
> Recent builds of Neo4j-Spatial no longer like Peters new bounding box
query.
> Peter is on vacation, and I am not familiar with the code (nor cypher), so
I
> thought I would just dump the error message here for now in case someone
can
> give me a quick pointer.
>
> The line of code is:
> Query query = parser.parse( "start n=(layer1,'bbox:[15.0, 16.0, 56.0,
> 57.0]') match (n) -[r] - (x) return n.bbox, r:TYPE, x.layer?, x.bbox?" );
>
> The error is:
> org.neo4j.cypher.SyntaxError: string matching regex `\z' expected but `:'
> found
> at org.neo4j.cypher.parser.CypherParser.parse(CypherParser.scala:75)
> at org.neo4j.cypher.javacompat.CypherParser.parse(CypherParser.java:39)
> at
>
org.neo4j.gis.spatial.IndexProviderTest.testNodeIndex(IndexProviderTest.java:91)
>
> Regards, Craig
> _______________________________________________
> Neo4j mailing list
> [email protected]
> https://lists.neo4j.org/mailman/listinfo/user
_______________________________________________
Neo4j mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to