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

Example of geo paging with minDistance

    XMLWordPrintableJSON

Details

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

    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
              Jess Mokrzecki Jess Mokrzecki
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                7 years, 10 weeks, 6 days ago