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

Correction to "Pipeline Operators and Indexes" section in MongoDB documentation

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 01112017-cleanup
    • None
    • manual
    • None

    Description

      In the "Pipeline Operators and Indexes" section on the Aggregation Pipeline page (http://docs.mongodb.org/manual/core/aggregation-pipeline/), the following paragraph requires correction:

      The $match, $sort, $limit, and $skip pipeline operators can take advantage of an index when they occur at the beginning of the pipeline or when they occur before the following aggregation operators: $project, $unwind, and $group.

      should be changed to (changed text is in caps):

      The $match, $sort, $limit, and $skip pipeline operators can take advantage of an index when they occur at the beginning of the pipeline AND when they occur before ANY OCCURRENCE OF the following aggregation operators: $project, $unwind, and $group.

      Attachments

        Activity

          People

            sam.kleinman Sam Kleinman (Inactive)
            jon.rangel@mongodb.com Jon Rangel (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              10 years, 22 weeks, 1 day ago