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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 01112017-cleanup
    • Component/s: manual
    • Labels:
      None
    • # Replies:
      1
    • Last comment by Customer:
      true

      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

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved:
                Days since reply:
                6 years, 19 weeks ago
                Date of 1st Reply: