We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a4ffd8a commit 87463e1Copy full SHA for 87463e1
testcases/pipelines.js
@@ -230,7 +230,10 @@ generateTestCase({
230
boolFilter: true
231
}
232
233
- }
+ },
234
+ // For $geoNear, we limit the number of results to 100 documents, to match the default
235
+ // behavior the $geoNear stage prior to 4.2.
236
+ {$limit: 100},
237
]
238
});
239
@@ -259,7 +262,10 @@ generateTestCase({
259
262
},
260
263
spherical: true
261
264
265
266
267
268
269
270
271
0 commit comments