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

$natural description needs to be updated

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • v1.3.10
    • None
    • manual
    • None

    Description

      The doc page for $natural operator, http://docs.mongodb.org/manual/reference/operator/meta/natural/, mentions that "The $natural operator uses the following syntax to return documents in the order they exist on disk".

      This is not true for sharded collections.

      $natural returns an ordered collection scan. It's not clear the if this result is the same as disk location.

      Attachments

        Activity

          People

            tim.slavin Tim Slavin
            jonathan.abrahams Jonathan Abrahams
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              9 years, 25 weeks, 2 days ago