From 1a9b7056c7f1510c3aef0f8f96632b5e725f605f Mon Sep 17 00:00:00 2001 From: Frank Celler Date: Fri, 23 May 2014 10:31:53 +0200 Subject: [PATCH] generated files --- .../org/arangodb/arango-collection-common.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/js/apps/system/aardvark/frontend/js/modules/org/arangodb/arango-collection-common.js b/js/apps/system/aardvark/frontend/js/modules/org/arangodb/arango-collection-common.js index 6a7c6d5c1f..3853008b64 100644 --- a/js/apps/system/aardvark/frontend/js/modules/org/arangodb/arango-collection-common.js +++ b/js/apps/system/aardvark/frontend/js/modules/org/arangodb/arango-collection-common.js @@ -636,12 +636,11 @@ ArangoCollection.prototype.geo = function(loc, order) { /// @FUN{@FA{collection}.near(@FA{latitude}, @FA{longitude})} ///////////////////////////////////////////////////////////// /// -/// The default will find at most 100 documents near the coordinate -/// (@FA{latitude}, @FA{longitude}). The returned list is sorted according to -/// the distance, with the nearest document coming first. If there are near -/// documents of equal distance, documents are chosen randomly from this set -/// until the limit is reached. It is possible to change the limit using the -/// @FA{limit} operator. +/// The returned list is sorted according to the distance, with the nearest +/// document to the coordinate (@FA{latitude}, @FA{longitude}) coming first. +/// If there are near documents of equal distance, documents are chosen randomly +/// from this set until the limit is reached. It is possible to change the limit +/// using the @FA{limit} operator. /// /// In order to use the @FN{near} operator, a geo index must be defined for the /// collection. This index also defines which attribute holds the coordinates @@ -693,8 +692,9 @@ ArangoCollection.prototype.near = function (lat, lon) { /// @FUN{@FA{collection}.within(@FA{latitude}, @FA{longitude}, @FA{radius})} //////////////////////////////////////////////////////////////////////////// /// -/// This will find all documents with in a given radius around the coordinate -/// (@FA{latitude}, @FA{longitude}). The returned list is sorted by distance. +/// This will find all documents within a given radius around the coordinate +/// (@FA{latitude}, @FA{longitude}). The returned list is sorted by distance, +/// beginning with the nearest document. /// /// In order to use the @FN{within} operator, a geo index must be defined for the /// collection. This index also defines which attribute holds the coordinates