Rexster query fails

582 views Asked by At

Running a query on titan-rexster-cassandra-0.4.1 :

http://localhost:8182/graphs/graph/tp/gremlin?script=g.V().has('place',WITHIN,Geoshape.circle(38.8951,-77.0367,50)).count()

fails with the following error:

{"message":"","error":"javax.script.ScriptException: com.thinkaurelius.titan.core.TitanException: Could not process individual retrieval call ","api":{"description":"evaluate an ad-hoc Gremlin script for a graph.","parameters":{"rexster.returnKeys":"an array of element property keys to return (default is to return all element properties)","rexster.showTypes":"displays the properties of the elements with their native data type (default is false)","load":"a list of 'stored procedures' to execute prior to the 'script' (if 'script' is not specified then the last script in this argument will return the values","rexster.offset.end":"end index for a paged set of data to be returned","rexster.offset.start":"start index for a paged set of data to be returned","params":"a map of parameters to bind to the script engine","language":"the gremlin language flavor to use (default to groovy)","script":"the Gremlin script to be evaluated"}},"success":false}

Note: I am able to run it without any problems using gremlin console.

Thanks for any help

0

There are 0 answers