diff --git a/source/reference/commands.txt b/source/reference/commands.txt index 896fa80a633..868ec25d6f6 100644 --- a/source/reference/commands.txt +++ b/source/reference/commands.txt @@ -964,7 +964,7 @@ Geospatial Commands and ":doc:`/reference/operators`" for more information. - :field distanceMultipler: Specifies a factor to multiply + :field distanceMultiplier: Specifies a factor to multiply all distances returned by :dbcommand:`geoNear`. For example, use ``distanceMultiplier`` to convert from @@ -973,6 +973,9 @@ Geospatial Commands by multiplying by the radius of the Earth. + :field spherical: {spherical : true, maxDistance : 2500/6378137, distanceMultiplier: 6378137} return the meters + and the maxDistance is 2500 meters + .. read-lock, slave-ok .. dbcommand:: geoSearch