Investigate $geoNear blocking sort

XMLWordPrintableJSON

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

      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 (Inactive)
              Reporter:
              David Percy (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: