Queries over $geoWithin on a 2D index go through a custom codepath - replace this with an approach similar to the 2DSphere index where the space to be searched is transformed directly into index bounds for an IndexScan in the new query framework.
No behavior change is intended.
This will allow:
- larger results sets
- limit + skip
Make sure to test with map/reduce agg.