Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-5800

Refactor 2D $geoWithin into new query framework (expression index)

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.7.2
    • Component/s: Geo
    • Labels:
    • 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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              greg_10gen Greg Studer
              Reporter:
              jeff.yemin Jeffrey Yemin
              Participants:
              Votes:
              2 Vote for this issue
              Watchers:
              9 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: