You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to use my own Neo4j 2.0.1 Server via url parameter init. My url looks like this: http://localhost:8080/?init=http://localhost:7474/db/data/cypher
But I get an exception:
Graph Setup: http://localhost:7474/db/data/cypher
Query: match (n:Crew)-[r:KNOWS*]-m where n.name='Neo' return n as Neo,r,m
Error: org.neo4j.rest.graphdb.RestResultException: Question mark is no longer used for optional patterns - use OPTIONAL MATCH instead (line 1, column 24)
"start n=node(*) match n-[r?]->() return n,r"
^ at
SyntaxException org.neo4j.cypher.internal.compiler.v2_0.parser.CypherParser$$anonfun$parseToQuery$1.apply(CypherParser.scala:65)
org.neo4j.cypher.internal.compiler.v2_0.parser.CypherParser$$anonfun$parseToQuery$1.apply(CypherParser.scala:64)
scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
scala.collection.Iterator$class.foreach(Iterator.scala:727)
scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
scala.collection.AbstractIterable.foreach(Iterable.scala:54)
scala.collection.TraversableLike$class.map(TraversableLike.scala:244)
scala.collection.AbstractTraversable.map(Traversable.scala:105)
org.neo4j.cypher.internal.compiler.v2_0.parser.CypherParser.parseToQuery(CypherParser.scala:64)
org.neo4j.cypher.internal.compiler.v2_0.CypherCompiler$$anonfun$1.apply(CypherCompiler.scala:38)
org.neo4j.cypher.internal.compiler.v2_0.CypherCompiler$$anonfun$1.apply(CypherCompiler.scala:37)
org.neo4j.cypher.internal.LRUCache.getOrElseUpdate(LRUCache.scala:34)
org.neo4j.cypher.internal.CypherCompiler$VersionProxy$$anonfun$1.apply(CypherCompiler.scala:47)
org.neo4j.cypher.internal.CypherCompiler$VersionProxy$$anonfun$1.apply(CypherCompiler.scala:47) org.neo4j.cypher.internal.compiler.v2_0.CypherCompiler.prepare(CypherCompiler.scala:37)
org.neo4j.cypher.internal.CypherCompiler$VersionProxy.prepare(CypherCompiler.scala:64)
org.neo4j.cypher.ExecutionEngine$$anonfun$3.apply(ExecutionEngine.scala:83)
org.neo4j.cypher.ExecutionEngine$$anonfun$3.apply(ExecutionEngine.scala:81)
org.neo4j.cypher.internal.LRUCache.getOrElseUpdate(LRUCache.scala:34)
org.neo4j.cypher.ExecutionEngine.prepare(ExecutionEngine.scala:81)
org.neo4j.cypher.ExecutionEngine.execute(ExecutionEngine.scala:60)
org.neo4j.cypher.ExecutionEngine.execute(ExecutionEngine.scala:65)
org.neo4j.cypher.javacompat.ExecutionEngine.execute(ExecutionEngine.java:78)
org.neo4j.server.rest.web.CypherService.cypher(CypherService.java:100)
java.lang.reflect.Method.invoke(Method.java:606)
org.neo4j.server.rest.transactional.TransactionalRequestDispatcher.dispatch(TransactionalRequestDispatcher.java:139)
org.neo4j.server.rest.security.SecurityFilter.doFilter(SecurityFilter.java:112)
java.lang.Thread.run(Thread.java:744)
I also tried to set the start query to null with parameter query=" ".
If I try to type own queries, rabbithole can't find any results. And if I look in the network traffic of the loopback device, I can see, that rabbithole doesn't send anything to the Neo4j server. But at beginning, where I called the rabbit url http://localhost:8080/?init=http://localhost:7474/db/data/cypher I can see, that rabbithole sends the hardcoded query start n=node(*) match n-[r?]->() return n,r to the server.
I also tried the public rabbithole server console.neo4j.org with my Neo4j server (for this I made my server temporally public). And I had the same problems.
My Neo4j 2.0.1 server and rabbithole runs on Debian 7.0.4 and rabbithole was build today from the git repository (master branch).
The text was updated successfully, but these errors were encountered:
I tried to use my own Neo4j 2.0.1 Server via url parameter
init
. My url looks like this:http://localhost:8080/?init=http://localhost:7474/db/data/cypher
But I get an exception:
I also tried to set the start query to null with parameter
query=" "
.If I try to type own queries, rabbithole can't find any results. And if I look in the network traffic of the loopback device, I can see, that rabbithole doesn't send anything to the Neo4j server. But at beginning, where I called the rabbit url
http://localhost:8080/?init=http://localhost:7474/db/data/cypher
I can see, that rabbithole sends the hardcoded querystart n=node(*) match n-[r?]->() return n,r
to the server.I also tried the public rabbithole server
console.neo4j.org
with my Neo4j server (for this I made my server temporally public). And I had the same problems.My Neo4j 2.0.1 server and rabbithole runs on Debian 7.0.4 and rabbithole was build today from the git repository (master branch).
The text was updated successfully, but these errors were encountered: