[SERVER-5800] Refactor 2D $geoWithin into new query framework (expression index) Created: 09/May/12  Updated: 24/Oct/19  Resolved: 11/Jun/14

Status: Closed
Project: Core Server
Component/s: Geo
Affects Version/s: None
Fix Version/s: 2.7.2

Type: Improvement Priority: Major - P3
Reporter: Jeffrey Yemin Assignee: Greg Studer
Resolution: Done Votes: 2
Labels: todo_in_code
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Duplicate
is duplicated by SERVER-11516 $near query hangs server. Closed
is duplicated by SERVER-4002 MapReduce with large geo queries Closed
is duplicated by SERVER-7987 Combination of geospatial and sort qu... Closed
Related
related to SERVER-17415 2d indexes with invalid 'min' and 'ma... Closed
related to SERVER-44225 Complete TODO listed in SERVER-5800 Closed
related to SERVER-13619 basic 2d geohash covering generator Closed
is related to SERVER-9986 Refactor $geoNear searches into new q... Closed
Participants:
Linked BF Score: 0

 Description   

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
  • yielding

Make sure to test with map/reduce agg.



 Comments   
Comment by Githook User [ 23/Jul/14 ]

Author:

{u'username': u'gregstuder', u'name': u'Greg Studer', u'email': u'greg@10gen.com'}

Message: SERVER-5800 changes for geo expression index performance, avoid preprojecting

Comment by Githook User [ 10/Jun/14 ]

Author:

{u'username': u'gregstuder', u'name': u'Greg Studer', u'email': u'greg@10gen.com'}

Message: SERVER-5800 convert 2d predicate queries into covered index scans
Branch: master
https://github.com/mongodb/mongo/commit/6537dc777512d093a489cb1db99e8db8cf50b914

Comment by Ramon Fernandez Marina [ 20/May/14 ]

Author:

{u'username': u'gregstuder', u'name': u'Greg Studer', u'email': u'greg@10gen.com'}

Message: SERVER-5800 R2Region interface for 2d index covering support, minor refactor

Branch: master
https://github.com/mongodb/mongo/commit/65b71020e3f51467a42b13784abb63d87225bd39

Comment by hari.khalsa@10gen.com [ 07/Feb/13 ]

2dsphere should be a real cursor now.

Generated at Thu Feb 08 03:09:55 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.