-
Type: Bug
-
Resolution: Done
-
Priority: Minor - P4
-
Affects Version/s: 2.6.9
-
Component/s: Aggregation Framework, Geo
-
None
-
Fully Compatible
-
Linux
-
$geoNear pipeline within aggregate command always logs a warning about deprecated option "uniqueDocs" (see below), even if that option has never been set or used.
mongodb.log:
warning: mydb.timezone: ignoring deprecated uniqueDocs option in geoNear command
As I get right, aggregation command calls first GeoNear command with always set "uniqueDocs" option.
See https://github.com/mongodb/mongo/blob/r2.6.9/src/mongo/db/pipeline/document_source_geo_near.cpp#L139