I am doing a query that returns all items within a given radius but now I
want to short the results by distance from the mid-point.

I see the function cts:distance() that gives the distance between two
points, but since that is a calculated value can I plug that into a
cts:search() or search:search() to sort the results by distance?

Or is there a better way?

-- 
Keith
_______________________________________________
General mailing list
General@developer.marklogic.com
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to