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

Example of geo paging with minDistance

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • Server_Docs_20231030
    • 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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:
              7 years, 29 weeks ago