Re: [Neo4j] Cypher error in neo4j-spatial
Fixed in spatial, Thanks! Sent from my phone. On Jul 3, 2011 7:39 AM, "Andres Taylor" wrote: > We decided that we needed a meta-data character that wasn't ":". Instead, > you now write: "r~TYPE" > > Andrés > > On Sun, Jul 3, 2011 at 12:44 AM, Peter Neubauer wrote: > >> Just pinged Andres on this. The r:TYPE is the culprit. >> >> Sent from my phone. >> On Jul 3, 2011 12:06 AM, "Craig Taverner" 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 >> > 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 >> > ___ > 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
Re: [Neo4j] Cypher error in neo4j-spatial
We decided that we needed a meta-data character that wasn't ":". Instead, you now write: "r~TYPE" Andrés On Sun, Jul 3, 2011 at 12:44 AM, Peter Neubauer wrote: > Just pinged Andres on this. The r:TYPE is the culprit. > > Sent from my phone. > On Jul 3, 2011 12:06 AM, "Craig Taverner" 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 > > 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 > ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] Cypher error in neo4j-spatial
Just pinged Andres on this. The r:TYPE is the culprit. Sent from my phone. On Jul 3, 2011 12:06 AM, "Craig Taverner" 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 > 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