The default limit for the $near/$nearSphere query operators was removed in SERVER-14515. For consistency, the default limit should also be removed from the $geoNear aggregation stage.
$match should be moved into the query field of the $geoNear stage, where possible
Docs for SERVER-22949: Remove default limit from $geoNear aggregation stage
$geoNear (aggregation) when $maxDistance = 0, return all locations
4.0.21 -> 4.2 Upgrade issue, mongos adding limit geoNear queries, resulting in errors
Remove default limit from geoNear operations
$geoNear output limit of 16mb