No way to page results when using $near and > 100 results

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: 1.9.0
    • Component/s: Geo
    • None
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      I have a resultset of ~1000 results. I need this to be sorted by distance and paged.

      Using $within, I can accomplish the paging but not the sorting.
      Using $near, I have sorting, but no paging (unless the count is less than 100)

      $near seems to use the $limit parameter to determine the total number of results, instead of the page size.

              Assignee:
              Unassigned
              Reporter:
              Jason Imison
              Votes:
              4 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: