Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-1702

Example of geo paging with minDistance

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Won't Fix
    • None
    • None
    • manual
    • true

    Description

      With SERVER-9395, users can page through geo results in order of increasing distance from centroid. E.g., search for restaurants near me, I don't like first 10 results, I hit "next," and the application uses $minDistance and limit to efficiently get next 10 results without a skip. Let's write up a nice example of this.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jesse@mongodb.com A. Jesse Jiryu Davis
              Jonathan Dahl Jonathan Dahl
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                6 years, 9 weeks, 3 days ago