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

Clarify that 100 result limits for $near query operator is only for 2d indexes

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 01112017-cleanup
    • None
    • manual
    • None

    Description

      According to SERVER-5800, the $near operator's limit to 100 results only affects 2d indexes, not 2dsphere.

      http://docs.mongodb.org/manual/reference/operator/near/ implies that using $near creates a hard upper limit of 100 results regardless.

      Attachments

        Activity

          People

            bgrabar Bob Grabar
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              10 years, 23 weeks, 5 days ago