Hi everyone, 

I'm having some troubles trying to return a calculated field to order the 
result nodes from a query by the distance from a certain location 
(longitude/latitude). 

The thing is, the formula is a bit complicated to execute in a Cyper query 
because it uses math operators like SIN or COS that are not implemented on 
Neo4j and I believe there's no way to store a procedure in the database to 
execute complex operations like this.

Is there any way to do this and get my results ordered by distance or do I 
have to calculate the distance manually for every result and order it 
before returning on the server side?

Thanks in advance!

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to