Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-3925

Add .skip() equivalent for $geoNear dbcommand

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Geo

      Description

      Skipping doesn't appear to be implemented for $geoNear at present.

      Need a way to skip records to page through results when using the $geoNear database command. Using a normal $near with find().skip(20) works but when we need to use the $geoNear command for one reason or another we need similar functionality.

      Please refer to question posted on google groups: http://groups.google.com/group/mongodb-user/browse_thread/thread/d7aefcd76cc9981e/599dba8a1b07d7c0#599dba8a1b07d7c0

        Attachments

          Issue Links

            Activity

              People

              Votes:
              33 Vote for this issue
              Watchers:
              25 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: