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

Investigate $geoNear blocking sort

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Query Optimization 2021-07-12, Query Optimization 2021-07-26

      We think $geoNear already has to do some in-memory sorting.  (It scans progressively larger annuli from the index, but it must sort the points within each annulus.)

      Is this something we can expose easily, to allow $geoNear to run anywhere in a pipeline?

            Assignee:
            david.percy@mongodb.com David Percy
            Reporter:
            david.percy@mongodb.com David Percy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: