Hi, in both 2.8 and 3.0 (plus devel if that matters) the results of NEAR and WITHIN are sorted by distance, with closest distances being returned first. That means the docs on https://docs.arangodb.com/3.0/AQL/Functions/Geo.html are wrong. We'll fix that.
Best regards Jan Am Montag, 26. September 2016 14:45:45 UTC+2 schrieb Thomas Weiss: > > Hi, > > This page <https://docs.arangodb.com/3.0/Manual/Indexing/Geo.html> states > that the NEAR and WITHIN functions return documents as a list that is > "sorted by distance, beginning with the nearest document". But that page > <https://docs.arangodb.com/3.0/AQL/Functions/Geo.html> says that "the > order in which the result documents are returned is undefined". > Which one is true? > > Thanks, > Thomas > -- You received this message because you are subscribed to the Google Groups "ArangoDB" 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.
